summaryrefslogtreecommitdiff
path: root/trove
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2021-02-15 10:29:24 +1300
committerLingxian Kong <anlin.kong@gmail.com>2021-02-18 17:34:01 +0000
commit5640a61acbfd3449ba700f495aa885f54fd2e080 (patch)
treeb87ddcc80ee20cedbda2013fe6cd133df661d14d /trove
parent9c2e0bf3a0f1bc0b35a148174d8a4d2083f2b3c5 (diff)
downloadtrove-5640a61acbfd3449ba700f495aa885f54fd2e080.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
Diffstat (limited to 'trove')
-rw-r--r--trove/common/cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/trove/common/cfg.py b/trove/common/cfg.py
index 7504f61c..a490b431 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,