-only trigger check config if we actually need it
[oweals/gnunet.git] / src / fs / fs_unindex.c
index 2e9c17217a18ed1e82f9da0e8e978a54c2e23de3..2c4cb6ae67be7a058df18e15ee31fe4f4e726ecd 100644 (file)
@@ -215,7 +215,7 @@ unindex_process (void *cls,
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "Sending REMOVE request to DATASTORE service\n");
   GNUNET_DATASTORE_remove (uc->dsh, &chk->query, size, data, -2, 1,
-                           GNUNET_CONSTANTS_SERVICE_TIMEOUT, &process_cont, uc);
+                           &process_cont, uc);
   uc->chk = *chk;
 }
 
@@ -552,7 +552,6 @@ process_kblock_for_unindex (void *cls,
                                      data,
                                     0 /* priority */,
                                      1 /* queue size */,
-                                    GNUNET_TIME_UNIT_FOREVER_REL,
                                     &continue_after_remove,
                                     uc);
   return;
@@ -563,7 +562,6 @@ process_kblock_for_unindex (void *cls,
                                      GNUNET_BLOCK_TYPE_FS_UBLOCK,
                                      0 /* priority */,
                                       1 /* queue size */,
-                                     GNUNET_TIME_UNIT_FOREVER_REL,
                                      &process_kblock_for_unindex,
                                      uc);
 }
@@ -615,7 +613,6 @@ GNUNET_FS_unindex_do_remove_kblocks_ (struct GNUNET_FS_UnindexContext *uc)
                                      GNUNET_BLOCK_TYPE_FS_UBLOCK,
                                      0 /* priority */,
                                       1 /* queue size */,
-                                     GNUNET_TIME_UNIT_FOREVER_REL,
                                      &process_kblock_for_unindex,
                                      uc);
 }