mirror of
https://github.com/dagucloud/dagu.git
synced 2026-12-05 05:32:51 +00:00
A closed session's watchdog slept until the old idle deadline in the directory of the command that opened the session, which Windows then would not let anyone remove. The watchdog now runs in its executable's directory and looks at its session at least every ten seconds, so it exits soon after the session is closed or ended elsewhere. Looking takes the session's lock only once the session is abandoned, so the watchdog never makes a command find the session busy. Part of #3070