Add local session garbage collect to cic-ussd

This commit is contained in:
nolash 2021-07-14 23:48:41 +02:00
parent bb92b417e2
commit eb50f2b485
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -127,3 +127,4 @@ class SessionBase(Model):
logg.debug('commit and destroy session {}'.format(session_key))
session.commit()
session.close()
del SessionBase.localsessions[session_key]