diff options
Diffstat (limited to 'src/core/core_api.c')
-rw-r--r-- | src/core/core_api.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c index 1a74eb7d0..91055dd03 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c | |||
@@ -320,9 +320,6 @@ request_start (void *cls, size_t size, void *buf) | |||
320 | } | 320 | } |
321 | /* create new timeout task (in case core takes too long to respond!) */ | 321 | /* create new timeout task (in case core takes too long to respond!) */ |
322 | th->timeout_task = GNUNET_SCHEDULER_add_delayed (h->sched, | 322 | th->timeout_task = GNUNET_SCHEDULER_add_delayed (h->sched, |
323 | GNUNET_NO, | ||
324 | GNUNET_SCHEDULER_PRIORITY_KEEP, | ||
325 | GNUNET_SCHEDULER_NO_TASK, | ||
326 | GNUNET_TIME_absolute_get_remaining | 323 | GNUNET_TIME_absolute_get_remaining |
327 | (th->timeout), | 324 | (th->timeout), |
328 | &timeout_request, th); | 325 | &timeout_request, th); |
@@ -748,9 +745,7 @@ transmit_start (void *cls, size_t size, void *buf) | |||
748 | h->startup_timeout = | 745 | h->startup_timeout = |
749 | GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_MINUTES); | 746 | GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_MINUTES); |
750 | h->reconnect_task = | 747 | h->reconnect_task = |
751 | GNUNET_SCHEDULER_add_delayed (h->sched, GNUNET_NO, | 748 | GNUNET_SCHEDULER_add_delayed (h->sched, |
752 | GNUNET_SCHEDULER_PRIORITY_IDLE, | ||
753 | GNUNET_SCHEDULER_NO_TASK, | ||
754 | delay, &reconnect_task, h); | 749 | delay, &reconnect_task, h); |
755 | return 0; | 750 | return 0; |
756 | } | 751 | } |
@@ -990,9 +985,6 @@ GNUNET_CORE_peer_configure (struct GNUNET_CORE_Handle *handle, | |||
990 | th->info_cls = info_cls; | 985 | th->info_cls = info_cls; |
991 | th->timeout = GNUNET_TIME_relative_to_absolute (timeout); | 986 | th->timeout = GNUNET_TIME_relative_to_absolute (timeout); |
992 | th->timeout_task = GNUNET_SCHEDULER_add_delayed (handle->sched, | 987 | th->timeout_task = GNUNET_SCHEDULER_add_delayed (handle->sched, |
993 | GNUNET_NO, | ||
994 | GNUNET_SCHEDULER_PRIORITY_KEEP, | ||
995 | GNUNET_SCHEDULER_NO_TASK, | ||
996 | timeout, | 988 | timeout, |
997 | &timeout_request, th); | 989 | &timeout_request, th); |
998 | th->msize = sizeof (struct RequestConfigureMessage); | 990 | th->msize = sizeof (struct RequestConfigureMessage); |
@@ -1112,9 +1104,6 @@ GNUNET_CORE_notify_transmit_ready (struct GNUNET_CORE_Handle *handle, | |||
1112 | th->peer = *target; | 1104 | th->peer = *target; |
1113 | th->timeout = GNUNET_TIME_relative_to_absolute (maxdelay); | 1105 | th->timeout = GNUNET_TIME_relative_to_absolute (maxdelay); |
1114 | th->timeout_task = GNUNET_SCHEDULER_add_delayed (handle->sched, | 1106 | th->timeout_task = GNUNET_SCHEDULER_add_delayed (handle->sched, |
1115 | GNUNET_NO, | ||
1116 | GNUNET_SCHEDULER_PRIORITY_KEEP, | ||
1117 | GNUNET_SCHEDULER_NO_TASK, | ||
1118 | maxdelay, | 1107 | maxdelay, |
1119 | &timeout_request, th); | 1108 | &timeout_request, th); |
1120 | th->priority = priority; | 1109 | th->priority = priority; |