summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil <phil.buschmann@tum.de>2018-08-08 23:25:44 +0200
committerPhil <phil.buschmann@tum.de>2018-08-08 23:25:44 +0200
commit995c8c9ce229d3ad25eeda53a0fbeda5cafa4f05 (patch)
tree4cd30d2783e77c0cdf83e78a97e1e5f4612adb31
parent0d239903075f518edef85277f13d1b5d303443bf (diff)
-fix added timeout for gns Rest plugin
-rw-r--r--src/gns/plugin_rest_gns.c2
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,
struct RequestHandle *handle = GNUNET_new (struct RequestHandle);
handle->response_code = 0;
- handle->timeout = GNUNET_TIME_UNIT_FOREVER_REL;
+ handle->timeout = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60);
handle->proc_cls = proc_cls;
handle->proc = proc;
handle->rest_handle = rest_handle;