aboutsummaryrefslogtreecommitdiff
path: root/src/topology
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-11-04 14:10:32 +0000
committerChristian Grothoff <christian@grothoff.org>2009-11-04 14:10:32 +0000
commitcf45b8dff29c366d51aa2e6ea6a64b99b514b9c9 (patch)
tree5cb37c041743daff5af528dbbe24f5c563ce702e /src/topology
parentb91546a3de767292e6472c6b1927480adba43d88 (diff)
downloadgnunet-cf45b8dff29c366d51aa2e6ea6a64b99b514b9c9.tar.gz
gnunet-cf45b8dff29c366d51aa2e6ea6a64b99b514b9c9.zip
bugfixes and redesigning scheduler API
Diffstat (limited to 'src/topology')
-rw-r--r--src/topology/gnunet-daemon-topology.c9
-rw-r--r--src/topology/test_gnunet_service_topology.c2
2 files changed, 1 insertions, 10 deletions
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c
index b156ddfaf..cdf3da809 100644
--- a/src/topology/gnunet-daemon-topology.c
+++ b/src/topology/gnunet-daemon-topology.c
@@ -523,9 +523,6 @@ schedule_peer_search ()
523 (unsigned long long) delay.value); 523 (unsigned long long) delay.value);
524#endif 524#endif
525 GNUNET_SCHEDULER_add_delayed (sched, 525 GNUNET_SCHEDULER_add_delayed (sched,
526 GNUNET_NO,
527 GNUNET_SCHEDULER_PRIORITY_DEFAULT,
528 GNUNET_SCHEDULER_NO_TASK,
529 delay, 526 delay,
530 &find_more_peers, 527 &find_more_peers,
531 NULL); 528 NULL);
@@ -823,9 +820,6 @@ core_init (void *cls,
823#endif 820#endif
824 if (autoconnect) 821 if (autoconnect)
825 GNUNET_SCHEDULER_add_delayed (sched, 822 GNUNET_SCHEDULER_add_delayed (sched,
826 GNUNET_NO,
827 GNUNET_SCHEDULER_PRIORITY_DEFAULT,
828 GNUNET_SCHEDULER_NO_TASK,
829 GNUNET_TIME_UNIT_SECONDS /* give core time to tell us about existing connections */, 823 GNUNET_TIME_UNIT_SECONDS /* give core time to tell us about existing connections */,
830 &find_more_peers, 824 &find_more_peers,
831 NULL); 825 NULL);
@@ -1227,9 +1221,6 @@ run (void *cls,
1227 handlers); 1221 handlers);
1228 1222
1229 GNUNET_SCHEDULER_add_delayed (sched, 1223 GNUNET_SCHEDULER_add_delayed (sched,
1230 GNUNET_YES,
1231 GNUNET_SCHEDULER_PRIORITY_IDLE,
1232 GNUNET_SCHEDULER_NO_TASK,
1233 GNUNET_TIME_UNIT_FOREVER_REL, 1224 GNUNET_TIME_UNIT_FOREVER_REL,
1234 &cleaning_task, NULL); 1225 &cleaning_task, NULL);
1235} 1226}
diff --git a/src/topology/test_gnunet_service_topology.c b/src/topology/test_gnunet_service_topology.c
index b2790c0c9..2536f5454 100644
--- a/src/topology/test_gnunet_service_topology.c
+++ b/src/topology/test_gnunet_service_topology.c
@@ -26,7 +26,7 @@
26 26
27#define VERBOSE GNUNET_YES 27#define VERBOSE GNUNET_YES
28 28
29#define NUM_PEERS 10 29#define NUM_PEERS 4
30 30
31/** 31/**
32 * How long until we give up on connecting the peers? 32 * How long until we give up on connecting the peers?