[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: RPS service: Record the num
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: RPS service: Record the number of observed peers |
Date: |
Mon, 08 Apr 2019 16:32:57 +0200 |
This is an automated email from the git hooks/post-receive script.
julius-buenger pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 11029ef9d RPS service: Record the number of observed peers
11029ef9d is described below
commit 11029ef9d4b6a8e201c1f036c6ef1ceb8dc3cd09
Author: Julius Bünger <address@hidden>
AuthorDate: Mon Apr 8 16:32:03 2019 +0200
RPS service: Record the number of observed peers
---
src/rps/gnunet-service-rps.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index 1fdcfe4ca..e929c89de 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -2602,6 +2602,13 @@ insert_in_sampler (void *cls,
* messages to it */
//indicate_sending_intention (peer);
}
+ if (sub == msub)
+ {
+ GNUNET_STATISTICS_update (stats,
+ "# observed peers in gossip",
+ 1,
+ GNUNET_NO);
+ }
#ifdef TO_FILE
sub->num_observed_peers++;
GNUNET_CONTAINER_multipeermap_put
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: RPS service: Record the number of observed peers,
gnunet <=