[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 03/06: rps service: log view size on history updat
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 03/06: rps service: log view size on history update, too |
Date: |
Wed, 04 Apr 2018 08:54:48 +0200 |
This is an automated email from the git hooks/post-receive script.
julius-buenger pushed a commit to branch master
in repository gnunet.
commit 2f2506d4a09eaaaa004014823e4fa1b7bd783588
Author: Julius Bünger <address@hidden>
AuthorDate: Wed Apr 4 08:07:50 2018 +0200
rps service: log view size on history update, too
---
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 30d677849..5b7f78b3f 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -2270,6 +2270,12 @@ insert_in_view (const struct GNUNET_PeerIdentity *peer)
}
/**
+ * @brief sends updates to clients that are interested
+ */
+static void
+clients_notify_view_update (void);
+
+/**
* Put random peer from sampler into the view as history update.
*/
static void
@@ -2279,6 +2285,7 @@ hist_update (void *cls,
{
unsigned int i;
+ clients_notify_view_update();
for (i = 0; i < num_peers; i++)
{
(void) insert_in_view (&ids[i]);
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet] branch master updated (e331d5f6d -> ea51d048c), gnunet, 2018/04/04
- [GNUnet-SVN] [gnunet] 01/06: rps profiler: fix logging of statistic values, gnunet, 2018/04/04
- [GNUnet-SVN] [gnunet] 04/06: rps profiler: change logging format of view sizes, gnunet, 2018/04/04
- [GNUnet-SVN] [gnunet] 02/06: rps service/config: rename option in config, too, gnunet, 2018/04/04
- [GNUnet-SVN] [gnunet] 03/06: rps service: log view size on history update, too,
gnunet <=
- [GNUnet-SVN] [gnunet] 05/06: rps tests: be more flexible with logging to files, gnunet, 2018/04/04
- [GNUnet-SVN] [gnunet] 06/06: rps tests: connect to all services, gnunet, 2018/04/04