changeset 18889:1458276c0a07

indexer: Reverted 5945ba000a45 - it didn't really help
author Timo Sirainen <tss@iki.fi>
date Mon, 29 Jun 2015 12:00:05 +0300
parents 5945ba000a45
children 85822087fe3d
files src/indexer/indexer.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/indexer/indexer.c	Mon Jun 29 11:44:00 2015 +0300
+++ b/src/indexer/indexer.c	Mon Jun 29 12:00:05 2015 +0300
@@ -59,11 +59,6 @@
 	struct worker_connection *conn;
 	struct indexer_request *request;
 
-	if (worker_pool == NULL) {
-		/* deinitializing */
-		return;
-	}
-
 	while ((request = indexer_queue_request_peek(queue)) != NULL) {
 		conn = worker_pool_find_username_connection(worker_pool,
 							    request->username);