Add local session garbage collect to cic-ussd
This commit is contained in:
parent
bb92b417e2
commit
eb50f2b485
@ -127,3 +127,4 @@ class SessionBase(Model):
|
|||||||
logg.debug('commit and destroy session {}'.format(session_key))
|
logg.debug('commit and destroy session {}'.format(session_key))
|
||||||
session.commit()
|
session.commit()
|
||||||
session.close()
|
session.close()
|
||||||
|
del SessionBase.localsessions[session_key]
|
||||||
|
Loading…
Reference in New Issue
Block a user