diff options
author | Phil <phil.buschmann@tum.de> | 2018-08-08 23:25:44 +0200 |
---|---|---|
committer | Phil <phil.buschmann@tum.de> | 2018-08-08 23:25:44 +0200 |
commit | 995c8c9ce229d3ad25eeda53a0fbeda5cafa4f05 (patch) | |
tree | 4cd30d2783e77c0cdf83e78a97e1e5f4612adb31 /src/gns/plugin_rest_gns.c | |
parent | 0d239903075f518edef85277f13d1b5d303443bf (diff) | |
download | gnunet-995c8c9ce229d3ad25eeda53a0fbeda5cafa4f05.tar.gz gnunet-995c8c9ce229d3ad25eeda53a0fbeda5cafa4f05.zip |
-fix added timeout for gns Rest plugin
Diffstat (limited to 'src/gns/plugin_rest_gns.c')
-rw-r--r-- | src/gns/plugin_rest_gns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gns/plugin_rest_gns.c b/src/gns/plugin_rest_gns.c index 495d01504..41b855743 100644 --- a/src/gns/plugin_rest_gns.c +++ b/src/gns/plugin_rest_gns.c | |||
@@ -388,7 +388,7 @@ rest_process_request(struct GNUNET_REST_RequestHandle *rest_handle, | |||
388 | struct RequestHandle *handle = GNUNET_new (struct RequestHandle); | 388 | struct RequestHandle *handle = GNUNET_new (struct RequestHandle); |
389 | 389 | ||
390 | handle->response_code = 0; | 390 | handle->response_code = 0; |
391 | handle->timeout = GNUNET_TIME_UNIT_FOREVER_REL; | 391 | handle->timeout = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60); |
392 | handle->proc_cls = proc_cls; | 392 | handle->proc_cls = proc_cls; |
393 | handle->proc = proc; | 393 | handle->proc = proc; |
394 | handle->rest_handle = rest_handle; | 394 | handle->rest_handle = rest_handle; |