nse never queues more than one message per peer
authorChristian Grothoff <christian@grothoff.org>
Thu, 24 Nov 2011 10:05:33 +0000 (10:05 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 24 Nov 2011 10:05:33 +0000 (10:05 +0000)
src/nse/gnunet-service-nse.c

index f7b5e311d328087e82631343414da7c3936b3712..f1c7661e232f012fb265a7b138ba6b66db91b820 100644 (file)
  */
 #define HISTORY_SIZE 64
 
-/**
- * Size of the queue to core.
- */
-#define CORE_QUEUE_SIZE 2
-
 /**
  * Message priority to use.
  */
@@ -1390,7 +1385,7 @@ run (void *cls, struct GNUNET_SERVER_Handle *server,
   nc = GNUNET_SERVER_notification_context_create (server, 1);
   /* Connect to core service and register core handlers */
   coreAPI = GNUNET_CORE_connect (cfg,   /* Main configuration */
-                                 CORE_QUEUE_SIZE,       /* queue size */
+                                 1,
                                  NULL,  /* Closure passed to functions */
                                  &core_init,    /* Call core_init once connected */
                                  &handle_core_connect,  /* Handle connects */