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

Clear HttpContext in background, also allows bg job from bg task. #14140

Merged
merged 1 commit into from
Aug 15, 2023

Conversation

jtkech
Copy link
Member

@jtkech jtkech commented Aug 14, 2023

While working on #14105 I saw other tweaks to do that are not directly related.

So here

  • Anytime we create an HttpContext in the background we clear it at the end of the related async flow.

  • Which is better, and it also allows to trigger a background job from a background task.

@jtkech jtkech changed the title Clear HttpContext in the background, also allow bg job from bg task. Clear HttpContext in background, also allows bg job from bg task. Aug 15, 2023
@jtkech jtkech merged commit 25b098b into main Aug 15, 2023
3 checks passed
@jtkech jtkech deleted the jtkech/clear-httpcontext branch August 15, 2023 02:30
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.

1 participant