Skip to content

Commit

Permalink
security updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ozdemirozcelik committed Apr 5, 2023
1 parent cdf8dbf commit 957d2a8
Show file tree
Hide file tree
Showing 29 changed files with 2,010 additions and 1,429 deletions.
907 changes: 18 additions & 889 deletions app.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ SMA_CALC_PERIOD = 20

# configuraton for the email notifications
[EMAIL]
ENABLE_EMAIL_NOTIFICATIONS = True
ENABLE_EMAIL_NOTIFICATIONS = False
# check for waiting/problematic orders in every x seconds
MAIL_CHECK_PERIOD = 90

Expand Down
4 changes: 2 additions & 2 deletions db.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from flask_sqlalchemy import SQLAlchemy

# TODO: CHECK TIMEOUT
# Certain database backends may impose different inactive connection timeouts, which interferes with
# Flask-SQLAlchemy’s connection pooling.
# Certain database backends may impose different inactive connection timeouts,
# which interferes with Flask-SQLAlchemy’s connection pooling.
# set sqlalchemy db and options, below doesn't work for sqlite3
# db = SQLAlchemy( engine_options={'connect_args': {'connect_timeout': 10}} )

Expand Down
Loading

0 comments on commit 957d2a8

Please sign in to comment.