-
Notifications
You must be signed in to change notification settings - Fork 639
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
Thread-safe Audited.without_auditing #661
Comments
I would also like this, for example wrapping a long-running job that does not need auditing for the duration and context of that job. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently there's no way to disable all auditing for a block, e.g.
I'm guessing this is because it wouldn't be thread-safe. The per-class equivalent solves this by using a thread-local variable.
Would you be open to a PR that adds similar behavior to the global setting?
The text was updated successfully, but these errors were encountered: