svn path=/trunk/packages/invirt-remote-server/; revision=1701
+invirt-remote-server (0.1.1) unstable; urgency=low
+
+ * Now that we're doing real caching, cache for less time
+
+ -- Evan Broder <broder@mit.edu> Mon, 17 Nov 2008 13:18:23 -0500
+
invirt-remote-server (0.1.0) unstable; urgency=low
* Add real caching to remconffs
invirt-remote-server (0.1.0) unstable; urgency=low
* Add real caching to remconffs
return m
def recache(self):
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())
self.lasttime = time()
database.clear_cache()
self.machines = dict((machine.name, machine) for machine in database.session.query(database.Machine).all())