|
|
@ -41,6 +41,9 @@ class Manager() :
|
|
|
|
if len(meta) > 0 :
|
|
|
|
if len(meta) > 0 :
|
|
|
|
self.DELAY = 60* max([ int(item['delay']) for item in meta])
|
|
|
|
self.DELAY = 60* max([ int(item['delay']) for item in meta])
|
|
|
|
self.LIMIT = max([ int(item['limit']) for item in meta ])
|
|
|
|
self.LIMIT = max([ int(item['limit']) for item in meta ])
|
|
|
|
|
|
|
|
dbname = [item['id'] for item in meta if meta['limit'] == self.LIMIT][0]
|
|
|
|
|
|
|
|
self.conf['store']['args']['dbname'] = dbname
|
|
|
|
|
|
|
|
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
self.DELAY = -1
|
|
|
|
self.DELAY = -1
|
|
|
|
self.LIMIT = -1
|
|
|
|
self.LIMIT = -1
|
|
|
|