-
Notifications
You must be signed in to change notification settings - Fork 304
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
Improve forking support #804
Merged
Merged
Commits on Dec 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 36ba6e5 - Browse repository at this point
Copy the full SHA 36ba6e5View commit details
Commits on Dec 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3b61696 - Browse repository at this point
Copy the full SHA 3b61696View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22de4ef - Browse repository at this point
Copy the full SHA 22de4efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 139993b - Browse repository at this point
Copy the full SHA 139993bView commit details -
Instead of separate locks for buffering and sender modes configuration, use the same lock.
Configuration menu - View commit details
-
Copy full SHA for 63f53a1 - Browse repository at this point
Copy the full SHA 63f53a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60a9f46 - Browse repository at this point
Copy the full SHA 60a9f46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ccb2d8 - Browse repository at this point
Copy the full SHA 1ccb2d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95d5048 - Browse repository at this point
Copy the full SHA 95d5048View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ddd736 - Browse repository at this point
Copy the full SHA 6ddd736View commit details -
Remove warning when stopping already stopped thread
Now that disable_buffering and pre_fork may both try to stop the flush thread at the same time, attempt to stop an already stopped thread does not indicate a bug in the client code.
Configuration menu - View commit details
-
Copy full SHA for 9082c7c - Browse repository at this point
Copy the full SHA 9082c7cView commit details -
Single field assignement is atomic according to Python FAQ, so we don't need to protect reads and writes to self._queue as such. The only place where we need a lock is when stopping the sender, to ensure that the Stop marker is the last thing to be placed in there. https://docs.python.org/3/faq/library.html#what-kinds-of-global-value-mutation-are-thread-safe
Configuration menu - View commit details
-
Copy full SHA for e4e15bf - Browse repository at this point
Copy the full SHA e4e15bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for b536a1c - Browse repository at this point
Copy the full SHA b536a1cView commit details -
Silence type error on os.register_at_fork
os.register_at_fork is not available on all python versions, notably python 2.7. While we check for the availability explicitly, mypy cannot see through that and complains.
Configuration menu - View commit details
-
Copy full SHA for 69b49f7 - Browse repository at this point
Copy the full SHA 69b49f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec8f504 - Browse repository at this point
Copy the full SHA ec8f504View commit details
Commits on Jan 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b378a96 - Browse repository at this point
Copy the full SHA b378a96View commit details
Commits on Jan 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4363dd4 - Browse repository at this point
Copy the full SHA 4363dd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f923a46 - Browse repository at this point
Copy the full SHA f923a46View commit details -
Update docstring for enable_background_sender
The method is now thread safe, and can be used with forking applications.
Configuration menu - View commit details
-
Copy full SHA for ee120f9 - Browse repository at this point
Copy the full SHA ee120f9View commit details -
Fix docstring for enable_background_sender
Re-format parameter descriptions so they are rendered correctly in the html docs.
Configuration menu - View commit details
-
Copy full SHA for 9db758a - Browse repository at this point
Copy the full SHA 9db758aView commit details
Commits on Jan 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 35df4a1 - Browse repository at this point
Copy the full SHA 35df4a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e5aa8e - Browse repository at this point
Copy the full SHA 0e5aa8eView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.