You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we configure a sim-time (e.g. 2021-01-01) when the server starts it starts time from this point and does operations. If we stop the server and restart it, it doesn't continue from its progressed sim-time, but instead restarts time from the configured time.
This is especially problematic for job scheduling if for e.g. we create a facility and then stop the server, and start the server again to create another facility (all long-running jobs are now scheduled way into the future from the server's point of reference).
Potential fix
Flush sim-time to the db periodically and read from db before using default sim-time start in config
The text was updated successfully, but these errors were encountered:
vindard
changed the title
multiple server runs with sim-time
Multiple server runs with sim-time reset server to past date
Dec 6, 2024
Bug
If we configure a sim-time (e.g.
2021-01-01
) when the server starts it starts time from this point and does operations. If we stop the server and restart it, it doesn't continue from its progressed sim-time, but instead restarts time from the configured time.This is especially problematic for job scheduling if for e.g. we create a facility and then stop the server, and start the server again to create another facility (all long-running jobs are now scheduled way into the future from the server's point of reference).
Potential fix
Flush sim-time to the db periodically and read from db before using default sim-time start in config
The text was updated successfully, but these errors were encountered: