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

[Resque] Cleanup after fork #231

Merged
merged 3 commits into from
Nov 2, 2017
Merged

[Resque] Cleanup after fork #231

merged 3 commits into from
Nov 2, 2017

Conversation

ryplo
Copy link
Contributor

@ryplo ryplo commented Oct 25, 2017

Overview

The child process created when Resque forks to work on a new job receives a copy of the parent process's buffers and writer. This clears it out after the fork to ensure a clean slate and may help with performance. For example, if a span is not finished and a worker thread not created, the buffers will never be cleared and the process will sleep in the shutdown! method until it times out at 5 seconds.

Breaking Changes

No breaking changes

@ryplo ryplo added the integrations Involves tracing integrations label Oct 27, 2017
@ryplo ryplo requested a review from palazzem October 27, 2017 13:59
@palazzem palazzem added this to the 0.9.1 milestone Nov 1, 2017
@palazzem palazzem merged commit d6527ac into master Nov 2, 2017
@palazzem palazzem deleted the rachel/testing-resque-perf branch November 2, 2017 02:35
palazzem pushed a commit that referenced this pull request Nov 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrations Involves tracing integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants