Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2f29f12

Browse filesBrowse files
authored
Extending server process timeout (#1060)
1 parent aef1abf commit 2f29f12
Copy full SHA for 2f29f12

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎gazelle/python/parser.go

Copy file name to clipboardExpand all lines: gazelle/python/parser.go
+1-1Lines 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

Copy file name to clipboardExpand all lines: gazelle/python/std_modules.go
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.