We issue 3 requests on startup now, update log message

This commit is contained in:
Łukasz Mierzwa
2017-04-05 23:15:41 -07:00
parent eb9a95be8a
commit 0936f1b9c1

View File

@@ -101,7 +101,7 @@ func main() {
apiCache = cache.New(cache.NoExpiration, 10*time.Second)
// before we start try to fetch data from Alertmanager
log.Infof("Initial Alertmanager query, this can delay startup up to %s", 2*config.Config.AlertmanagerTimeout)
log.Infof("Initial Alertmanager query, this can delay startup up to %s", 3*config.Config.AlertmanagerTimeout)
PullFromAlertmanager()
log.Info("Done, starting HTTP server")