X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-console.git/blobdiff_plain/da0d3b99c48a49db7c0bdb9ea18087e4d689c9e2..acd5117037b2ceeb22a4a9ec1dceb550941de5a0:/files/usr/bin/invirt-consolefs?ds=sidebyside diff --git a/files/usr/bin/invirt-consolefs b/files/usr/bin/invirt-consolefs index e092c21..b6e3844 100755 --- a/files/usr/bin/invirt-consolefs +++ b/files/usr/bin/invirt-consolefs @@ -45,7 +45,7 @@ class ConsoleFS(routefs.RouteFS): def recache(self): """Refresh the local cache of VMs if the cache is more than 15 minutes old """ - 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())