MODULES: add priorities in execution
[citadel.git] / citadel / modules / fulltext / serv_fulltext.c
index cc3906867981e6154ec43d1fc93b586cec0f212d..b0e3d5e7b3941b3c6eed1e0bac68155879a5506a 100644 (file)
@@ -507,7 +507,7 @@ CTDL_MODULE_INIT(fulltext)
                CtdlRegisterDeleteHook(ft_delete_remove);
                CtdlRegisterSearchFuncHook(ft_search, "fulltext");
                CtdlRegisterCleanupHook(noise_word_cleanup);
-               CtdlRegisterSessionHook(do_fulltext_indexing, EVT_TIMER);
+               CtdlRegisterSessionHook(do_fulltext_indexing, EVT_TIMER, PRIO_CLEANUP + 300);
        }
        /* return our module name for the log */
        return "fulltext";