bump telemetry timeout to 2s

This commit is contained in:
Matthew Hooker 2017-11-02 23:54:03 -07:00
parent a5197840df
commit 49c20e3b1c
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ func (c *CheckpointTelemetry) Finalize(command string, errCode int, err error) e
// b, _ := json.MarshalIndent(params, "", " ") // b, _ := json.MarshalIndent(params, "", " ")
// log.Println(string(b)) // log.Println(string(b))
ctx, cancel := context.WithTimeout(context.Background(), 1500*time.Millisecond) ctx, cancel := context.WithTimeout(context.Background(), 2*time.Second)
defer cancel() defer cancel()
log.Printf("[INFO] (telemetry) Finalizing.") log.Printf("[INFO] (telemetry) Finalizing.")