diff options
| author | Paul Buetow <paul@buetow.org> | 2024-10-27 11:34:16 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-10-27 11:34:16 +0200 |
| commit | f9a1a4dd6f154c08f308431b821cc23e5dac8942 (patch) | |
| tree | 2850b7f610b55d84e15d40cad898a355044029af /cmd | |
| parent | 063d630bc1acbaaf1b9743a33bef559601b117d3 (diff) | |
fix timeouts
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/gos/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gos/main.go b/cmd/gos/main.go index 81f747a..de41866 100644 --- a/cmd/gos/main.go +++ b/cmd/gos/main.go @@ -74,7 +74,7 @@ func main() { return } - ctx, cancel := context.WithTimeout(context.Background(), time.Duration(1*time.Minute)) + ctx, cancel := context.WithCancel(context.Background()) defer cancel() if err := internal.Run(ctx, args); err != nil { |
