From 8b2652e55158469541a68cf4170c716a184aaf02 Mon Sep 17 00:00:00 2001 From: nolash Date: Wed, 14 Jul 2021 14:40:47 +0200 Subject: [PATCH] Remove session leak --- apps/cic-eth/cic_eth/runnable/daemons/dispatcher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/cic-eth/cic_eth/runnable/daemons/dispatcher.py b/apps/cic-eth/cic_eth/runnable/daemons/dispatcher.py index 252b507a..88bb87ef 100644 --- a/apps/cic-eth/cic_eth/runnable/daemons/dispatcher.py +++ b/apps/cic-eth/cic_eth/runnable/daemons/dispatcher.py @@ -132,6 +132,7 @@ class DispatchSyncer: s_check.link(s_send) t = s_check.apply_async() logg.info('processed {}'.format(k)) + session.close() def loop(self, interval):