From a8167fa417cd509268e43bdbdfa2e94000207170 Mon Sep 17 00:00:00 2001 From: Bill Williams Date: Fri, 20 Dec 2019 14:30:01 -0800 Subject: [PATCH] change health file update interval to 240s --- CHANGELOG.md | 1 + src/connection.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index baf580d..10a646a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - dont try to install handler for signal 9 - on connect retry, requery jwt only if it failed before - put two timestamps in connection health file; start conn and current +- change health file update interval to 240sec ## [1.0.2] - 2019-02-08 - Refactored connection.c and updated corresponding unit tests diff --git a/src/connection.c b/src/connection.c index 65b3a33..38a76a8 100644 --- a/src/connection.c +++ b/src/connection.c @@ -38,7 +38,7 @@ #define HTTP_CUSTOM_HEADER_COUNT 5 #define INITIAL_CJWT_RETRY -2 -#define UPDATE_HEALTH_FILE_INTERVAL_SECS 300 +#define UPDATE_HEALTH_FILE_INTERVAL_SECS 240 /* Close codes defined in RFC 6455, section 11.7. */ enum {