bump telemetry timeout to 2s
This commit is contained in:
parent
a5197840df
commit
49c20e3b1c
|
@ -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.")
|
||||||
|
|
Loading…
Reference in New Issue