From: Eric Price Date: Sat, 21 Jun 2008 20:35:31 +0000 (-0400) Subject: Clear SQL cache on each request. X-Git-Tag: sipb-xen-www/3.6~37 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/01eed40fb57f037f7811b5f1df831a1a21f28b18 Clear SQL cache on each request. svn path=/trunk/packages/sipb-xen-www/; revision=613 --- diff --git a/code/main.py b/code/main.py index 80761ae..efc408c 100755 --- a/code/main.py +++ b/code/main.py @@ -641,6 +641,7 @@ class App: self.state.environ = environ def __iter__(self): + sipb_xen_database.clear_cache() sys.stderr = StringIO() fields = cgi.FieldStorage(fp=self.environ['wsgi.input'], environ=self.environ) operation = self.environ.get('PATH_INFO', '')