Restore original serve delays

This commit is contained in:
Willem Toorop 2019-01-23 12:49:22 +01:00
parent c4bd91b196
commit 35f2ce37c0
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ void handler(getdns_context *context, getdns_callback_type_t callback_type,
trans->ev.timeout_cb = delay_cb;
if (getdns_context_get_eventloop(context, &trans->loop)
|| trans->loop->vmt->schedule(trans->loop, -1, 200, &trans->ev))
|| trans->loop->vmt->schedule(trans->loop, -1, 300, &trans->ev))
fprintf(stderr, "Could not schedule delay\n");
else return;
}

View File

@ -103,7 +103,7 @@ void handler(getdns_context *context, getdns_callback_type_t callback_type,
fprintf(stderr, "sched delay for query %s, n_request %d\n", fqdn, (int)n_requests);
free(fqdn);
if (getdns_context_get_eventloop(context, &trans->loop)
|| trans->loop->vmt->schedule(trans->loop, -1, 200, &trans->ev))
|| trans->loop->vmt->schedule(trans->loop, -1, 300, &trans->ev))
fprintf(stderr, "Could not schedule delay\n");
else return;
}