Skip to content

Conversation

@jeremystretch
Copy link
Member

Fixes: #9439

  • Remove signal handler connects & disconnects from change_logging() context manger
  • Use ContextVar rather than thread-local storage to hold the current request and webhooks queue

@jeremystretch jeremystretch changed the title 9439 multi threading Closes #9439: Ensure thread safety of change logging functions Nov 10, 2022
@jeremystretch jeremystretch merged commit 4a95cfd into develop Nov 14, 2022
@jeremystretch jeremystretch deleted the 9439-multi-threading branch November 14, 2022 14:31
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 15, 2022
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.

Missing object change webhooks and change logs when running Netbox in multi-threading mode

2 participants