Now that remconffs is doing real caching, cache for less time
[invirt/packages/invirt-remote.git] / files / usr / sbin / invirt-remconffs
index d023749..6ad3ba7 100755 (executable)
@@ -43,7 +43,7 @@ class RemConfFS(routefs.RouteFS):
                return m
        
        def recache(self):
-               if time() - self.lasttime > 15:
+               if time() - self.lasttime > 5:
                        self.lasttime = time()
                        database.clear_cache()
                        self.machines = dict((machine.name, machine) for machine in database.session.query(database.Machine).all())