Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/main/lib/presto.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def blocked_response(message, model_type):
_, value = response
return json.loads(value)
else:
app.logger.error(f"Timeout reached while waiting for key '{model_type}_{item_id}'")

app.logger.error(f"Timeout reached while waiting for key for model '{model_type}'")
# TODO: should this raise an exception? this probably indicates data is being lost
return None
2 changes: 1 addition & 1 deletion production/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ set +o allexport
python manage.py init
python manage.py init_perl_functions
python manage.py db upgrade
gunicorn --preload -w 8 --threads 4 -b 0.0.0.0:${ALEGRE_PORT} --access-logfile - --error-logfile - wsgi:app
gunicorn --preload -w 8 --threads 8 -b 0.0.0.0:${ALEGRE_PORT} --access-logfile - --error-logfile - wsgi:app
Loading