notify: run production, lowers CPU
This commit is contained in:
parent
fe3d97cd34
commit
da7757fffb
2 changed files with 4 additions and 1 deletions
|
@ -411,4 +411,4 @@ def is_json(potential_json: str) -> bool:
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
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)
|
||||||
|
|
|
@ -30,6 +30,9 @@ in {
|
||||||
NOTIFIER_MAIL_DOMAIN = config.mine.shared.settings.domain;
|
NOTIFIER_MAIL_DOMAIN = config.mine.shared.settings.domain;
|
||||||
NOTIFIER_MAIL_HOST = config.mine.shared.settings.mail.domain;
|
NOTIFIER_MAIL_HOST = config.mine.shared.settings.mail.domain;
|
||||||
NOTIFIER_MAIL_PORT = builtins.toString config.mine.shared.settings.mail.ports.submissions;
|
NOTIFIER_MAIL_PORT = builtins.toString config.mine.shared.settings.mail.ports.submissions;
|
||||||
|
|
||||||
|
# production
|
||||||
|
FLASK_ENV = "production";
|
||||||
};
|
};
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue