1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-16 04:44:55 +02:00

cmd/antelope-api-healtcheck/main.go: Typo fix.

This commit is contained in:
Henrik Hautakoski 2023-02-15 18:09:20 +01:00
parent cf2aef149a
commit 6b0776937a
No known key found for this signature in database
GPG key ID: 217490840C18A5D9

View file

@ -185,7 +185,7 @@ func main() {
}
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)
req_timeout = time.Second * 2
} else if req_timeout.Minutes() > 1.0 {