[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 02/03: rps profiler: different delay for hard shut
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 02/03: rps profiler: different delay for hard shutdown |
Date: |
Thu, 05 Jul 2018 22:09:22 +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 dbdb128c604560e22b56b9ba139f0b8ff28efcb3
Author: Julius Bünger <address@hidden>
AuthorDate: Thu Jul 5 22:06:11 2018 +0200
rps profiler: different delay for hard shutdown
---
src/rps/gnunet-rps-profiler.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/rps/gnunet-rps-profiler.c b/src/rps/gnunet-rps-profiler.c
index 0427608f1..09797eaf7 100644
--- a/src/rps/gnunet-rps-profiler.c
+++ b/src/rps/gnunet-rps-profiler.c
@@ -2571,7 +2571,8 @@ test_run (void *cls,
if (NULL != churn_task)
GNUNET_SCHEDULER_cancel (churn_task);
post_test_task = GNUNET_SCHEDULER_add_delayed (timeout, &post_test_op, NULL);
- timeout = GNUNET_TIME_relative_multiply (timeout, 1.2 + (0.01 * num_peers));
+ timeout = GNUNET_TIME_relative_multiply (timeout, 0.2 + (0.01 * num_peers));
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "timeout for hard shutdown is %u\n",
timeout.rel_value_us/1000000);
shutdown_task = GNUNET_SCHEDULER_add_shutdown (shutdown_op, NULL);
shutdown_task = GNUNET_SCHEDULER_add_delayed (timeout, &shutdown_op, NULL);
--
To stop receiving notification emails like this one, please contact
address@hidden