git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added SFA_MAX_SLICE_RENEW config option now allows operators to configure the maximum...
[sfa.git]
/
sfa
/
util
/
config.py
diff --git
a/sfa/util/config.py
b/sfa/util/config.py
index
0f513ec
..
42d2c87
100644
(file)
--- a/
sfa/util/config.py
+++ b/
sfa/util/config.py
@@
-69,6
+69,9
@@
class Config:
if not hasattr(self, 'SFA_CM_TYPE'):
self.SFA_COMPONENT_TYPE='pl'
+ if not hasattr(self, 'SFA_MAX_SLICE_RENEW'):
+ self.SFA_MAX_SLICE_RENEW=60
+
# create the data directory if it doesnt exist
if not os.path.isdir(self.SFA_DATA_DIR):
try: