Update cmd/lotus-shed/hello.go
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
This commit is contained in:
parent
63a2d9f1fe
commit
5a961c90f5
@ -81,7 +81,7 @@ var helloCmd = &cli.Command{
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
ctx, done := context.WithTimeout(context.Background(), 5*time.Second)
|
||||
ctx, done := context.WithTimeout(ctx, 5*time.Second)
|
||||
defer done()
|
||||
select {
|
||||
case <-resultCh:
|
||||
|
Loading…
Reference in New Issue
Block a user