Correct typo in timeout value in comment
parent
69cc612fc4
commit
b2f874dbac
|
@ -81,7 +81,7 @@ func status() registry.State {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Allow no more than 2 seconds for querying state
|
// Allow no more than 4 seconds for querying state
|
||||||
ctx, cancel := context.WithTimeout(context.Background(), 4*time.Second)
|
ctx, cancel := context.WithTimeout(context.Background(), 4*time.Second)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue