From: Christian Grothoff Date: Mon, 30 May 2011 15:51:45 +0000 (+0000) Subject: stats X-Git-Tag: initial-import-from-subversion-38251~18378 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b590fc07325156f3b2507112b2ae8fd38b914379;p=oweals%2Fgnunet.git stats --- diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c index 9738588a7..65c14f673 100644 --- a/src/datastore/datastore_api.c +++ b/src/datastore/datastore_api.c @@ -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; }