diff options
author | Lingxian Kong <anlin.kong@gmail.com> | 2021-02-15 10:29:24 +1300 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2021-02-19 00:13:54 +0000 |
commit | 150072bf4abee479916018cf220212b793698efd (patch) | |
tree | 429cb8cf4784f41ab5a7e78e2471a5f2e73ce26b | |
parent | 2b6b7ab4b7810667426be26ff03a6c367bb2460d (diff) | |
download | trove-150072bf4abee479916018cf220212b793698efd.tar.gz |
Change the default agent_heartbeat_expiry to 90s
By default, trove guest agent is sending health heartbeat msg for every
60s, so agent_heartbeat_expiry should be bigger than that.
Change-Id: I348a82aa948079b7bba5c172b8d57d5f5dee28a0
(cherry picked from commit 5640a61acbfd3449ba700f495aa885f54fd2e080)
-rw-r--r-- | trove/common/cfg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trove/common/cfg.py b/trove/common/cfg.py index 8270cbf1..68478c8c 100644 --- a/trove/common/cfg.py +++ b/trove/common/cfg.py @@ -201,7 +201,7 @@ common_opts = [ cfg.IntOpt('agent_heartbeat_time', default=10, help='Maximum time (in seconds) for the Guest Agent to reply ' 'to a heartbeat request.'), - cfg.IntOpt('agent_heartbeat_expiry', default=60, + cfg.IntOpt('agent_heartbeat_expiry', default=90, help='Time (in seconds) after which a guest is considered ' 'unreachable'), cfg.IntOpt('num_tries', default=3, |