don't entirely rely on the web_refresh variable
This commit is contained in:
@@ -197,7 +197,7 @@ int main(int argc, char** argv) {
|
||||
report_queued = 0;
|
||||
report(1);
|
||||
}
|
||||
if (last_doc_generated <= now - web_refresh) {
|
||||
if (last_doc_generated <= now - web_refresh || last_doc_generated < (queued_time / 1000000)) {
|
||||
index_doc = generate_index();
|
||||
last_doc_generated = now;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user