As part of enable_remote_schedule_fetch() it tries to fetch an up to date schedule file before continuing, which blocks the client from starting. Is there any harm in forking another process to take care of that, just like when a user signal triggers a schedule update? Could probably just replace the call to update_remote_schedule() with fork_and_fetch() and let it work in its own time.
As part of
enable_remote_schedule_fetch()it tries to fetch an up to date schedule file before continuing, which blocks the client from starting. Is there any harm in forking another process to take care of that, just like when a user signal triggers a schedule update? Could probably just replace the call toupdate_remote_schedule()withfork_and_fetch()and let it work in its own time.