Skip to content
Snippets Groups Projects
Commit 4e8fb78c authored by Martin Mareš's avatar Martin Mareš
Browse files

Oprava volání garbage collectoru z UWSGI

parent 6fa8565d
No related branches found
No related tags found
No related merge requests found
...@@ -193,7 +193,7 @@ try: ...@@ -193,7 +193,7 @@ try:
def mule_timer(signum): def mule_timer(signum):
# app.logger.debug('Mule: Timer tick') # app.logger.debug('Mule: Timer tick')
with app.app_context(): with app.app_context():
garbage_collect() gc()
# Obykle při vložení jobu dostaneme signál. # Obykle při vložení jobu dostaneme signál.
@signal(42, target='mule') @signal(42, target='mule')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment