Skip to content

Commit 2f29f12

Browse files
authored
Extending server process timeout (bazel-contrib#1060)
1 parent aef1abf commit 2f29f12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gazelle/python/parser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func init() {
4646
}
4747

4848
ctx := context.Background()
49-
ctx, parserCancel := context.WithTimeout(ctx, time.Minute*5)
49+
ctx, parserCancel := context.WithTimeout(ctx, time.Minute*10)
5050
cmd := exec.CommandContext(ctx, parseScriptRunfile)
5151

5252
cmd.Stderr = os.Stderr

gazelle/python/std_modules.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func init() {
4747
}
4848

4949
ctx := context.Background()
50-
ctx, stdModulesCancel := context.WithTimeout(ctx, time.Minute*5)
50+
ctx, stdModulesCancel := context.WithTimeout(ctx, time.Minute*10)
5151
cmd := exec.CommandContext(ctx, stdModulesScriptRunfile)
5252

5353
cmd.Stderr = os.Stderr

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy