aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rps/gnunet-service-rps.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index 98e57a38e..a830bfa29 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -835,6 +835,10 @@ check_peer_live (struct PeerContext *peer_ctx)
835 mq_liveliness_check_successful, 835 mq_liveliness_check_successful,
836 peer_ctx); 836 peer_ctx);
837 GNUNET_MQ_send (mq, ev); 837 GNUNET_MQ_send (mq, ev);
838 GNUNET_STATISTICS_update (stats,
839 "# pending liveliness checks",
840 1,
841 GNUNET_NO);
838} 842}
839 843
840 844
@@ -2973,6 +2977,10 @@ handle_peer_check (void *cls,
2973 2977
2974 LOG (GNUNET_ERROR_TYPE_DEBUG, 2978 LOG (GNUNET_ERROR_TYPE_DEBUG,
2975 "Received CHECK_LIVE (%s)\n", GNUNET_i2s (peer)); 2979 "Received CHECK_LIVE (%s)\n", GNUNET_i2s (peer));
2980 GNUNET_STATISTICS_update (stats,
2981 "# pending liveliness checks",
2982 -1,
2983 GNUNET_NO);
2976 2984
2977 GNUNET_CADET_receive_done (channel_ctx->channel); 2985 GNUNET_CADET_receive_done (channel_ctx->channel);
2978} 2986}