Bump horizon timeout and period
Loading horizon page is quite slow, on slower hardware it can easily timeout. Bump the timeout to 30s. healthcheck periods must never lower than their timeout. Closes-Bug: #2062030 Change-Id: I6ae8742aa2eb6a38cd6ec4dbcc8a72c26dd426a2
This commit is contained in:
parent
cfa369e309
commit
d25f7639c9
@ -244,7 +244,7 @@ class HorizonOperatorCharm(sunbeam_charm.OSBaseOperatorAPICharm):
|
||||
@property
|
||||
def healthcheck_period(self) -> str:
|
||||
"""Healthcheck period for horizon service."""
|
||||
return "15s"
|
||||
return "45s"
|
||||
|
||||
@property
|
||||
def healthcheck_http_url(self) -> str:
|
||||
@ -260,7 +260,7 @@ class HorizonOperatorCharm(sunbeam_charm.OSBaseOperatorAPICharm):
|
||||
@property
|
||||
def healthcheck_http_timeout(self) -> str:
|
||||
"""Healthcheck HTTP check timeout for the service."""
|
||||
return "12s"
|
||||
return "30s"
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
x
Reference in New Issue
Block a user