From 4e8fb78c3777ce9b10648afdd347f2ca6d906d06 Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Mon, 27 Sep 2021 19:52:52 +0200
Subject: [PATCH] =?UTF-8?q?Oprava=20vol=C3=A1n=C3=AD=20garbage=20collector?=
=?UTF-8?q?u=20z=20UWSGI?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
mo/web/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mo/web/__init__.py b/mo/web/__init__.py
index 782dba3e..7c463ae6 100644
--- a/mo/web/__init__.py
+++ b/mo/web/__init__.py
@@ -193,7 +193,7 @@ try:
def mule_timer(signum):
# app.logger.debug('Mule: Timer tick')
with app.app_context():
- garbage_collect()
+ gc()
# Obykle při vložení jobu dostaneme signál.
@signal(42, target='mule')
--
GitLab