Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: occasional jsonnet timeouts #800

Merged
merged 4 commits into from
Aug 6, 2024
Merged

fix: occasional jsonnet timeouts #800

merged 4 commits into from
Aug 6, 2024

Conversation

alnr
Copy link
Contributor

@alnr alnr commented Jul 30, 2024

Reverts #798 and #799

The fixed 1 second timeout now only applies to the Jsonnet evaluation step,
but not the the spawning of the process which can occasionally take longer.

Additionally, we now warm the pool asynchronously on construction.

@alnr alnr requested review from aeneasr and jonas-jonas July 30, 2024 12:51
@alnr alnr self-assigned this Jul 30, 2024
@alnr alnr force-pushed the alnr/jsonnet-timeouts2 branch from 56aace8 to d316cc9 Compare July 30, 2024 12:51
@alnr alnr enabled auto-merge (rebase) July 31, 2024 09:17
alnr added 4 commits August 6, 2024 10:28
The fixed 1 second timeout now only applies to the Jsonnet evaluation step,
but not the the spawning of the process which can occasionally take longer.

Additionally, we now warm the pool asynchronously on construction.
@alnr alnr force-pushed the alnr/jsonnet-timeouts2 branch from 3032a24 to 9f1c25b Compare August 6, 2024 08:28
@alnr alnr merged commit 8049ccf into master Aug 6, 2024
9 checks passed
@alnr alnr deleted the alnr/jsonnet-timeouts2 branch August 6, 2024 13:14
@@ -79,12 +70,6 @@ func WithProcessIsolatedVM(ctx context.Context) Option {
}
}

func WithExecTimeout(timeout time.Duration) Option {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you remove this it needs an update in depending services as well!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I grepped our code bases and found no uses. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants