mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-12-16 02:05:48 -07:00
Additional OS Detection / Heartbeat Changes for Agent
This commit is contained in:
@@ -976,9 +976,9 @@ class Role:
|
|||||||
try:
|
try:
|
||||||
# Determine audit refresh interval (minutes), default 30
|
# Determine audit refresh interval (minutes), default 30
|
||||||
try:
|
try:
|
||||||
refresh_min = int(self.ctx.config.data.get('audit_interval_minutes', 30))
|
refresh_min = int(self.ctx.config.data.get('audit_interval_minutes', 5))
|
||||||
except Exception:
|
except Exception:
|
||||||
refresh_min = 30
|
refresh_min = 5
|
||||||
refresh_sec = max(300, refresh_min * 60)
|
refresh_sec = max(300, refresh_min * 60)
|
||||||
|
|
||||||
now = time.time()
|
now = time.time()
|
||||||
|
|||||||
Reference in New Issue
Block a user