activate api actions after postprocessing of crawls

pull/1/head
orbiter 12 years ago
parent 3978c5ca5d
commit 0d0b3a30f5

@ -2102,8 +2102,6 @@ public final class Switchboard extends serverSwitch {
ConcurrentLog.logException(e); ConcurrentLog.logException(e);
} }
execAPIActions();
// close unused connections // close unused connections
ConnectionInfo.cleanUp(); ConnectionInfo.cleanUp();
@ -2290,6 +2288,10 @@ public final class Switchboard extends serverSwitch {
postprocessingRunning = false; 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; return true;
} catch ( final InterruptedException e ) { } catch ( final InterruptedException e ) {
this.log.info("cleanupJob: Shutdown detected"); this.log.info("cleanupJob: Shutdown detected");

Loading…
Cancel
Save