Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
filak committed Apr 8, 2021
1 parent 158f021 commit 6da1664
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion flask-app/application/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
MeSH Traslation Workflow (MTW) background worker - Flask app factory
"""
import logging
from flask import Flask
from flask import Flask, abort

from application import utils as mtu

Expand Down
6 changes: 3 additions & 3 deletions flask-app/instance/conf/mtw.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ HOST_LINK = http://127.0.0.1:5900
### ! Background Worker host:port ! ###
## Default - production: http://127.0.0.1:55931/ - development: http://127.0.0.1:5903/ ##
WORKER_HOST = http://127.0.0.1:5903/
#WORKER_HOST = http://127.0.0.1:55931/
#WORKER_HOST = http://127.0.0.1:55933/

### ! Always set ! ###
TARGET_YEAR = 2022
Expand Down Expand Up @@ -112,9 +112,9 @@ CSRF_COOKIE_SECURE = False

#CACHE_IGNORE_ERRORS = True

CACHING = {"CACHE_TYPE": "null"}
#CACHING = {"CACHE_TYPE": "null"}

#CACHING = {"CACHE_TYPE": "filesystem", "CACHE_DEFAULT_TIMEOUT": 1800, "CACHE_THRESHOLD": 1000}
CACHING = {"CACHE_TYPE": "filesystem", "CACHE_DEFAULT_TIMEOUT": 1800, "CACHE_THRESHOLD": 1000}

### Flask-Session params
## See: https://flasksession.readthedocs.io/en/latest/
Expand Down

0 comments on commit 6da1664

Please sign in to comment.