Commit Graph

10 Commits

Author SHA1 Message Date
Son
c132e3fbbc flake8 2021-10-12 15:03:16 +02:00
Son
eb0e327402 remove "with app.app_context():" 2021-10-12 14:47:01 +02:00
Son
372466ab06 do not use flask-sqlalchemy
- add __tablename__ for all models
- use sa and orm instead of db
- rollback all changes in tests
- remove session in @app.teardown_appcontext
2021-10-12 14:36:47 +02:00
Son Nguyen Kim
5ac78f2694 reformat 2021-09-08 11:29:55 +02:00
Son NK
7c0b3b290b only check incoming queue (ignore active queue) 2020-10-11 18:13:17 +02:00
Son NK
c2e03854ef refactor monitoring 2020-10-11 18:11:49 +02:00
Son NK
731b8db5cb monitoring: alert when fails for 10 minutes 2020-10-03 10:34:07 +02:00
Son NK
6a8c0d6f76 monitoring alert when more than 50 emails in queue. Check every 2 mins. 2020-09-08 18:52:36 +02:00
Son NK
118862ead0 only alert if monitoring fails >3 times consecutive 2020-08-16 10:27:35 +02:00
Son NK
3d638f1a97 extract monitoring to its own file 2020-08-15 19:55:56 +02:00