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:
Vishal Dalwadi
2026-01-26 16:39:15 +05:30
committed by GitHub
parent c2fcd5d1f0
commit 33c646736c
4 changed files with 24 additions and 12 deletions
+3
View File
@@ -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
}