Skip to content

Commit

Permalink
on_start also update last_updated_at
Browse files Browse the repository at this point in the history
  • Loading branch information
Wout Feys committed Nov 14, 2024
1 parent a1ce0c5 commit 9b18222
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ def on_start(connection_manager):
connection_manager.timeout_in_sec,
)
if not res.get("success", True):
# Update config time even in failure :
connection_manager.conf.last_updated_at = get_unixtime_ms()
logger.error("Failed to communicate with Aikido Server : %s", res["error"])
else:
connection_manager.update_service_config(res)
Expand Down

0 comments on commit 9b18222

Please sign in to comment.