Skip to content

Commit

Permalink
Event scheduler use monotonic time
Browse files Browse the repository at this point in the history
  • Loading branch information
Wout Feys committed Sep 17, 2024
1 parent fbd60dd commit 8826123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aikido_zen/background_process/aikido_background_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def reporting_thread(self):
"""Reporting thread"""
logger.debug("Started reporting thread")
event_scheduler = sched.scheduler(
time.time, time.sleep
time.monotonic, time.sleep
) # Create an event scheduler
self.send_to_connection_manager(event_scheduler)

Expand Down

0 comments on commit 8826123

Please sign in to comment.