diff options
author | Maximilian Szengel <gnunet@maxsz.de> | 2012-11-14 13:41:21 +0000 |
---|---|---|
committer | Maximilian Szengel <gnunet@maxsz.de> | 2012-11-14 13:41:21 +0000 |
commit | b99b64811abb0f9a4f53856b645112ae39bf06d8 (patch) | |
tree | cb9973b075fb8c1ec11d50e465b0e77d26d94fdd | |
parent | a6991d97fc390790ba69a914a2f5ad35ae2c7bab (diff) | |
download | gnunet-b99b64811abb0f9a4f53856b645112ae39bf06d8.tar.gz gnunet-b99b64811abb0f9a4f53856b645112ae39bf06d8.zip |
Removed waiting time before linking
-rw-r--r-- | src/mesh/gnunet-regex-profiler.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/mesh/gnunet-regex-profiler.c b/src/mesh/gnunet-regex-profiler.c index 02d552407..1e785b888 100644 --- a/src/mesh/gnunet-regex-profiler.c +++ b/src/mesh/gnunet-regex-profiler.c | |||
@@ -343,11 +343,6 @@ static struct GNUNET_TIME_Relative search_timeout = { 60000 }; | |||
343 | static struct GNUNET_TIME_Relative search_delay = { 60000 }; | 343 | static struct GNUNET_TIME_Relative search_delay = { 60000 }; |
344 | 344 | ||
345 | /** | 345 | /** |
346 | * Delay to wait before starting to configure the overlay topology | ||
347 | */ | ||
348 | static struct GNUNET_TIME_Relative conf_topo_delay = { 10000 }; | ||
349 | |||
350 | /** | ||
351 | * File to log statistics to. | 346 | * File to log statistics to. |
352 | */ | 347 | */ |
353 | static struct GNUNET_DISK_FileHandle *data_file; | 348 | static struct GNUNET_DISK_FileHandle *data_file; |
@@ -1168,16 +1163,8 @@ peer_churn_cb (void *cls, const char *emsg) | |||
1168 | for (peer_cnt = 0; peer_cnt < num_peers; peer_cnt++) | 1163 | for (peer_cnt = 0; peer_cnt < num_peers; peer_cnt++) |
1169 | peer_handles[peer_cnt] = peers[peer_cnt].peer_handle; | 1164 | peer_handles[peer_cnt] = peers[peer_cnt].peer_handle; |
1170 | 1165 | ||
1171 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | ||
1172 | "Waiting %s before starting to link peers\n", | ||
1173 | GNUNET_STRINGS_relative_time_to_string (conf_topo_delay, GNUNET_YES)); | ||
1174 | |||
1175 | printf ("Waiting %s before starting to link peers\n", | ||
1176 | GNUNET_STRINGS_relative_time_to_string (conf_topo_delay, GNUNET_YES)); | ||
1177 | fflush (stdout); | ||
1178 | |||
1179 | state = STATE_PEERS_LINKING; | 1166 | state = STATE_PEERS_LINKING; |
1180 | GNUNET_SCHEDULER_add_delayed (conf_topo_delay, &do_configure_topology, NULL); | 1167 | GNUNET_SCHEDULER_add_now (&do_configure_topology, NULL); |
1181 | } | 1168 | } |
1182 | } | 1169 | } |
1183 | 1170 | ||