mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
activate api actions after postprocessing of crawls
This commit is contained in:
parent
3978c5ca5d
commit
0d0b3a30f5
|
@ -2102,8 +2102,6 @@ public final class Switchboard extends serverSwitch {
|
|||
ConcurrentLog.logException(e);
|
||||
}
|
||||
|
||||
execAPIActions();
|
||||
|
||||
// close unused connections
|
||||
ConnectionInfo.cleanUp();
|
||||
|
||||
|
@ -2289,6 +2287,10 @@ public final class Switchboard extends serverSwitch {
|
|||
index.fulltext().getWebgraphConfiguration().postprocessing(index);
|
||||
postprocessingRunning = false;
|
||||
}
|
||||
|
||||
// execute api actions; this must be done after postprocessing because
|
||||
// these actions may also influence the search index/ call optimize steps
|
||||
execAPIActions();
|
||||
|
||||
return true;
|
||||
} catch ( final InterruptedException e ) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user