Bump default timeout to 2m (#509)
authorBrian Brazil <brian.brazil@robustperception.io>
Fri, 16 Aug 2019 12:43:30 +0000 (13:43 +0100)
committerGitHub <noreply@github.com>
Fri, 16 Aug 2019 12:43:30 +0000 (13:43 +0100)
commit4bf18924d4645453ec3e240d01842b7f15db537c
treec9846eb3845ad154da10e7f36c86823f1b69cbc7
parent117b3d605544683c74d704d0b89c97a07715105b
Bump default timeout to 2m (#509)

The current default of 10s is problematic when testing slower probes
from a browser. Cancellation will still work as a fallback,
including for older Prometheus servers that don't send the timeout
header, so there shouldn't be a big buildup of ongoing probes.

Fixes #259

Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
main.go
main_test.go