changeset 1644:98a2eb768bb0

core: fixed session cleaning after actionNew timeout
author Goffi <goffi@goffi.org>
date Sun, 22 Nov 2015 21:23:14 +0100
parents 17f9b911899a
children f1da3a8d08ce
files src/bridge/bridge_constructor/bridge_template.ini src/core/sat_main.py
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini	Sun Nov 22 17:37:47 2015 +0100
+++ b/src/bridge/bridge_constructor/bridge_template.ini	Sun Nov 22 21:23:14 2015 +0100
@@ -47,6 +47,7 @@
 doc_param_5=%(doc_profile)s
 
 [newAlert]
+deprecated=
 type=signal
 category=core
 sig_in=ssss
--- a/src/core/sat_main.py	Sun Nov 22 17:37:47 2015 +0100
+++ b/src/core/sat_main.py	Sun Nov 22 21:23:14 2015 +0100
@@ -811,7 +811,7 @@
         id_ = unicode(uuid.uuid4())
         if keep_id is not None:
             client = self.getClient(profile)
-            action_timer = reactor.callLater(60*30, self._killAction)
+            action_timer = reactor.callLater(60*30, self._killAction, keep_id, client)
             client.actions[keep_id] = (action_data, id_, security_limit, action_timer)
 
         self.bridge.actionNew(action_data, id_, security_limit, profile)