Skip to content

Bugfix: Update state machine to use monotonic time for delay enforcement - #46

Merged
alexanderoster merged 1 commit into
alexanderoster:developfrom
krixkrix:statemachine_monotonic_clock
Nov 10, 2025
Merged

Bugfix: Update state machine to use monotonic time for delay enforcement#46
alexanderoster merged 1 commit into
alexanderoster:developfrom
krixkrix:statemachine_monotonic_clock

Conversation

@krixkrix

Copy link
Copy Markdown

This fixes error: "invalid execution delay error". This could occur after NTP clock adjustments causing system clock to jump backwards.

My amc_server failed, typically shortly after startup with:

step execution error: could not execute plugin: main: invalid
execution delay: 1761828937973062 (45)

I reproduced this by forcing the clock to jump backwards.

This fixes error: "invalid execution delay error".
This could occur after NTP clock adjustments causing system clock to jump backwards.
@alexanderoster
alexanderoster merged commit 4946111 into alexanderoster:develop Nov 10, 2025
1 check failed
@krixkrix
krixkrix deleted the statemachine_monotonic_clock branch January 16, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants