Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Have Evaluator not discard context after recursion#96

Merged
skx merged 1 commit intoskx:masterfrom
DeadlySurgeon:ctxfix
Nov 21, 2023
Merged

Have Evaluator not discard context after recursion#96
skx merged 1 commit intoskx:masterfrom
DeadlySurgeon:ctxfix

Conversation

@DeadlySurgeon
Copy link
Copy Markdown
Contributor

@DeadlySurgeon DeadlySurgeon commented Nov 20, 2023

Resolves #93

This PR rewrites functions in evaluator to ensure that the context is being passed around correctly and not discarded on recursion. This ensures that any timeout specified in the context, or if a context is canceled, it will have a chance to get through the evaluation.

@skx skx merged commit 77f5afc into skx:master Nov 21, 2023
@DeadlySurgeon DeadlySurgeon deleted the ctxfix branch November 21, 2023 13:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EvalContext discards context on recursion

2 participants