Skip to content

Commit

Permalink
longer timeout for queues during shutdown
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5469 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Jan 11, 2009
1 parent 2b32248 commit e948df6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/de/anomic/plasma/plasmaSwitchboard.java
Expand Up @@ -1061,14 +1061,14 @@ public void close() {
log.logConfig("SWITCHBOARD SHUTDOWN STEP 2: sending termination signal to threaded indexing");
// closing all still running db importer jobs
indexingDocumentProcessor.announceShutdown();
indexingDocumentProcessor.awaitShutdown(4000);
indexingDocumentProcessor.awaitShutdown(12000);
crawlStacker.announceClose();
indexingCondensementProcessor.announceShutdown();
indexingAnalysisProcessor.announceShutdown();
indexingStorageProcessor.announceShutdown();
indexingCondensementProcessor.awaitShutdown(3000);
indexingAnalysisProcessor.awaitShutdown(2000);
indexingStorageProcessor.awaitShutdown(1000);
indexingCondensementProcessor.awaitShutdown(12000);
indexingAnalysisProcessor.awaitShutdown(12000);
indexingStorageProcessor.awaitShutdown(12000);
crawlStacker.close();
this.dbImportManager.close();
JakartaCommonsHttpClient.closeAllConnections();
Expand Down

0 comments on commit e948df6

Please sign in to comment.