mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-07-03 11:53:43 +02:00
cmd/antelope-api-healtcheck/main.go: Typo fix.
This commit is contained in:
parent
cf2aef149a
commit
6b0776937a
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if req_timeout.Seconds() < 2 {
|
if req_timeout.Seconds() < 2 {
|
||||||
// Dont alow anything below 2 seconds. that is abit aggresive.
|
// Dont alow anything below 2 seconds. that is abit aggressive.
|
||||||
logger.Warn("Request timeout is less than the minimum. Setting it to 2 seconds", "req_timeout", req_timeout)
|
logger.Warn("Request timeout is less than the minimum. Setting it to 2 seconds", "req_timeout", req_timeout)
|
||||||
req_timeout = time.Second * 2
|
req_timeout = time.Second * 2
|
||||||
} else if req_timeout.Minutes() > 1.0 {
|
} else if req_timeout.Minutes() > 1.0 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue