gnunet-svn
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]