X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Ffulltext%2Fserv_fulltext.c;h=4fced5e28ac95b2a7eaebf00ec992b8e524605a8;hp=40645a294b7cdb4eb2e5dba6226adf24f7f91169;hb=a0273902a9c58482e88c26399fec4670ade79387;hpb=493e2f4620684968ab065993bbf1fa82c793b049 diff --git a/citadel/modules/fulltext/serv_fulltext.c b/citadel/modules/fulltext/serv_fulltext.c index 40645a294..4fced5e28 100644 --- a/citadel/modules/fulltext/serv_fulltext.c +++ b/citadel/modules/fulltext/serv_fulltext.c @@ -256,7 +256,6 @@ void do_fulltext_indexing(void) { /* * Make sure we don't run the indexer too frequently. * FIXME move the setting into config - */ time_t now = time(NULL); if ( (now - last_index) < 300L) { syslog(LOG_DEBUG, @@ -266,10 +265,10 @@ void do_fulltext_indexing(void) { ); return; } + */ /* - * Check to see whether the fulltext index is up to date; if there - * are no messages to index, don't waste any more time trying. + * Silently return if our fulltext index is up to date with new messages. */ if ( (CtdlGetConfigLong("MMfulltext") >= CtdlGetConfigLong("MMhighest"))