notify: run production, lowers CPU

This commit is contained in:
eyjhb 2025-03-24 15:38:41 +01:00
parent fe3d97cd34
commit da7757fffb
Signed by: eyjhb
GPG key ID: 609F508E3239F920
2 changed files with 4 additions and 1 deletions

View file

@ -411,4 +411,4 @@ def is_json(potential_json: str) -> bool:
if __name__ == "__main__":
app.run(host="127.0.0.1", port=CONFIG_PORT, debug=True)
app.run(host="127.0.0.1", port=CONFIG_PORT)

View file

@ -30,6 +30,9 @@ in {
NOTIFIER_MAIL_DOMAIN = config.mine.shared.settings.domain;
NOTIFIER_MAIL_HOST = config.mine.shared.settings.mail.domain;
NOTIFIER_MAIL_PORT = builtins.toString config.mine.shared.settings.mail.ports.submissions;
# production
FLASK_ENV = "production";
};
serviceConfig = {