# HG changeset patch # User Goffi # Date 1448223794 -3600 # Node ID 98a2eb768bb0edfa90022edb5b51f49545730420 # Parent 17f9b911899aa51f0c23ba1f71a9238ab154b8c5 core: fixed session cleaning after actionNew timeout diff -r 17f9b911899a -r 98a2eb768bb0 src/bridge/bridge_constructor/bridge_template.ini --- 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 diff -r 17f9b911899a -r 98a2eb768bb0 src/core/sat_main.py --- 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)