X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/dd9af5cb6877b3c6c6b33d99800ec35745272729..9d61799376c6d4a51b5386ddb432693ad31129a6:/server/state.c diff --git a/server/state.c b/server/state.c index f88067b..ad90425 100644 --- a/server/state.c +++ b/server/state.c @@ -46,6 +46,7 @@ #include "server.h" #include "printf.h" #include "addr.h" +#include "schedule.h" static const char *current_unix; static int current_unix_fd; @@ -155,6 +156,8 @@ int reconfigure(ev_source *ev, int reload) { trackdb_open(TRACKDB_CAN_UPGRADE); if(need_another_rescan) trackdb_rescan(ev, 1/*check*/, 0, 0); + /* Arrange timeouts for schedule actions */ + schedule_init(ev); if(!ret) { queue_read(); recent_read();