gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] 71/75: -fix added timeout for gns Rest plugin


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 71/75: -fix added timeout for gns Rest plugin
Date: Thu, 09 Aug 2018 23:59:08 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

commit 995c8c9ce229d3ad25eeda53a0fbeda5cafa4f05
Author: Phil <address@hidden>
AuthorDate: Wed Aug 8 23:25:44 2018 +0200

    -fix added timeout for gns Rest plugin
---
 src/gns/plugin_rest_gns.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]