fix: timeout 5
This commit is contained in:
parent
d04594a375
commit
63a2d9f1fe
@ -81,7 +81,7 @@ var helloCmd = &cli.Command{
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
ctx, done := context.WithTimeout(context.Background(), 10*time.Second)
|
ctx, done := context.WithTimeout(context.Background(), 5*time.Second)
|
||||||
defer done()
|
defer done()
|
||||||
select {
|
select {
|
||||||
case <-resultCh:
|
case <-resultCh:
|
||||||
|
Loading…
Reference in New Issue
Block a user