increase omit_unchanged_within to 60 s
+ fix a bug reading this from general config file
This commit is contained in:
parent
f3c7cdc7c4
commit
6fed5a3651
@ -4,4 +4,4 @@ logdir = ./log
|
||||
piddir = ./pid
|
||||
confdir = ./cfg
|
||||
comlog = True
|
||||
|
||||
omit_unchanged_within = 60
|
||||
|
@ -316,7 +316,7 @@ class Parameter(Accessible):
|
||||
if modobj:
|
||||
if self.update_unchanged == -1:
|
||||
t = modobj.omit_unchanged_within
|
||||
self.omit_unchanged_within = generalConfig.omit_unchanged_within if t is None else t
|
||||
self.omit_unchanged_within = float(generalConfig.omit_unchanged_within) if t is None else t
|
||||
else:
|
||||
self.omit_unchanged_within = float(self.update_unchanged)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user