Clear SQL cache on each request.
[invirt/packages/invirt-web.git] / code / main.py
index 80761ae..efc408c 100755 (executable)
@@ -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', '')