X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/666130346faf921dfaa1a4d30f40ffe5354e14de..9d61799376c6d4a51b5386ddb432693ad31129a6:/server/state.c diff --git a/server/state.c b/server/state.c index 3adcf2b..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; @@ -154,7 +155,9 @@ int reconfigure(ev_source *ev, int reload) { /* We only allow for upgrade at startup */ trackdb_open(TRACKDB_CAN_UPGRADE); if(need_another_rescan) - trackdb_rescan(ev, 1/*check*/); + trackdb_rescan(ev, 1/*check*/, 0, 0); + /* Arrange timeouts for schedule actions */ + schedule_init(ev); if(!ret) { queue_read(); recent_read();