mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
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.max_retry = 0
|
||||
self.retry = 3
|
||||
self.LOG_KEEP_DAYS = 7
|
||||
self.LOG_KEEP_DAYS = int(CONFIG.get('LOG_RETENTION_DAYS', 7))
|
||||
self.EXIT_EVENT = threading.Event()
|
||||
|
||||
@property
|
||||
|
|
|
|||
Loading…
Reference in New Issue