stats
authorChristian Grothoff <christian@grothoff.org>
Mon, 30 May 2011 15:51:45 +0000 (15:51 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 30 May 2011 15:51:45 +0000 (15:51 +0000)
src/datastore/datastore_api.c

index 9738588a7d4073b9c054f4addc8da3ec35091e3d..65c14f67336c7e354028264e6464defaeaa33042 100644 (file)
@@ -477,6 +477,10 @@ make_queue_entry (struct GNUNET_DATASTORE_Handle *h,
          GNUNET_CONTAINER_DLL_insert (h->queue_head,
                                       h->queue_tail,
                                       pos);
+         GNUNET_STATISTICS_update (h->stats,
+                                   gettext_noop ("# Requests dropped from datastore queue"),
+                                   1,
+                                   GNUNET_NO);
          pos->response_proc (h, NULL);
          break;
        }