core: fixed session cleaning after actionNew timeout
This commit is contained in:
parent
45d6db1063
commit
8002971b77
2 changed files with 2 additions and 1 deletions
|
|
@ -47,6 +47,7 @@ doc_param_4=extra: extra message information
|
|||
doc_param_5=%(doc_profile)s
|
||||
|
||||
[newAlert]
|
||||
deprecated=
|
||||
type=signal
|
||||
category=core
|
||||
sig_in=ssss
|
||||
|
|
|
|||
|
|
@ -811,7 +811,7 @@ class SAT(service.Service):
|
|||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue