fix: update LOG_KEEP_DAYS to use CONFIG for configurable log retention
This commit is contained in:
parent
47dd177b7e
commit
b41b054c49
@ -16,7 +16,7 @@ class BaseService(object):
|
|||||||
self.STOP_TIMEOUT = 10
|
self.STOP_TIMEOUT = 10
|
||||||
self.max_retry = 0
|
self.max_retry = 0
|
||||||
self.retry = 3
|
self.retry = 3
|
||||||
self.LOG_KEEP_DAYS = 7
|
self.LOG_KEEP_DAYS = int(CONFIG.get('LOG_RETENTION_DAYS', 7))
|
||||||
self.EXIT_EVENT = threading.Event()
|
self.EXIT_EVENT = threading.Event()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user