mirror of
https://github.com/gravitl/netmaker.git
synced 2026-04-23 00:17:10 +08:00
NM-212: IP Detection Interval (#3810)
* feat(go): add ip detection interval setting; * feat(go): ensure ip detection interval is greater than 15s;
This commit is contained in:
@@ -926,6 +926,9 @@ func migrateSettings() {
|
||||
if settings.CleanUpInterval == 0 {
|
||||
settings.CleanUpInterval = 10
|
||||
}
|
||||
if settings.IPDetectionInterval == 0 {
|
||||
settings.IPDetectionInterval = 15
|
||||
}
|
||||
if settings.AuditLogsRetentionPeriodInDays == 0 {
|
||||
settings.AuditLogsRetentionPeriodInDays = 7
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user