From a89c56b7c252cc1bd5f92cebbdb274cc4ae2893f Mon Sep 17 00:00:00 2001 From: José Bollo Date: Thu, 15 Feb 2018 16:54:47 +0100 Subject: afb-config: Increase the default timeout of sessions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The management of sessions is not very well understood actually. People are using it without refreshing the token. This has the effect that the binder closes sessions after one hour. So no demo can run more than one hour! Increasing the timeout to more than one year will solve the demo problem but will not fully solve the overall problem. Bug-AGL: SPEC-1296 Bug-AGL: SPEC-1293 Change-Id: I502a45e3c94f0c4633a80b68619a6e608ad36e7a Signed-off-by: José Bollo --- src/afb-config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/afb-config.c b/src/afb-config.c index f4aed055..b5ce52c5 100644 --- a/src/afb-config.c +++ b/src/afb-config.c @@ -38,8 +38,8 @@ #endif // default -#define DEFLT_CNTX_TIMEOUT 3600 // default Client Connection - // Timeout +#define DEFLT_CNTX_TIMEOUT 32000000 // default Client Connection + // Timeout: few more than one year #define DEFLT_API_TIMEOUT 20 // default Plugin API Timeout [0=NoLimit // for Debug Only] #define DEFLT_CACHE_TIMEOUT 100000 // default Static File Chache -- cgit 1.2.3-korg