Projects
Kolab:3.4
pykolab
0002-Fix-session-timeouts.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-Fix-session-timeouts.patch of Package pykolab (Revision 116)
Currently displaying revision
116
,
Show latest
From 3e4968e556c3593e2828c15f5b7eedb4cb5b2c7e Mon Sep 17 00:00:00 2001 From: Daniel Hoffend <dh@dotlan.net> Date: Wed, 3 Sep 2014 23:20:45 +0200 Subject: [PATCH] commit transaction for cache_cleanup --- bin/kolab_smtp_access_policy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/kolab_smtp_access_policy.py b/bin/kolab_smtp_access_policy.py index 6e904eb..4b3d89b 100755 --- a/bin/kolab_smtp_access_policy.py +++ b/bin/kolab_smtp_access_policy.py @@ -1158,6 +1158,7 @@ def cache_cleanup(): ).filter( PolicyResult.created < ((int)(time.time()) - cache_expire) ).delete() + session.commit() def cache_init(): global cache, cache_expire, session -- 1.7.10.4
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.