Commit 7ef802bb authored by David Johnson's avatar David Johnson

Increase default sliver status cache time to a minute.

parent 3912c216
......@@ -356,7 +356,7 @@ DEFAULT_METHOD_CACHE_TIMES = {
},
'cm' : { 'Resolve' : HOUR,
'DiscoverResources' : 10 * MINUTE,
'SliverStatus' : 2 * MINUTE,
'SliverStatus' : 1 * MINUTE,
}
}
......@@ -558,8 +558,8 @@ class ProtoGeniServer(object):
self.cache = {}
self.cache_times = cache_times
self.fscache = fscache
self.fscachedir = fscachedir
self.fscache = (config and config.fscache) or fscache
self.fscachedir = (config and config.fscache) or fscachedir
if not self.fscachedir:
self.fscachedir = os.getenv('HOME') + '/.protogeni/cache'
pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment