##// END OF EJS Templates
cleanup task session only if celery is on
marcink -
r1930:a69573cf beta
parent child Browse files
Show More
@@ -122,6 +122,7 def dbsession(func):
122 122 ret = func(*fargs, **fkwargs)
123 123 return ret
124 124 finally:
125 meta.Session.remove()
125 if CELERY_ON:
126 meta.Session.remove()
126 127
127 128 return decorator(__wrapper, func)
General Comments 0
You need to be logged in to leave comments. Login now