Skip to content

Conversation

@CagriYonca
Copy link
Contributor

  • The state machine was not compatible with multi-threads by default. Every fork was changing the state of the fysom so that Fysom was falling into fysom.FysomError: event announce inappropriate in current state announced error. After adding a thread-safe lock mechanism, it works and propagates spans as expected.
  • Verified that the instrumentation works even without hooks.

…nstrumentation

Signed-off-by: Cagri Yonca <cagri@ibm.com>
@CagriYonca CagriYonca self-assigned this Jan 7, 2026
@CagriYonca CagriYonca requested a review from a team as a code owner January 7, 2026 09:57
@CagriYonca CagriYonca added the bug label Jan 7, 2026
@CagriYonca CagriYonca changed the title Gunicorn INSTA-69727 - Fysom improvement for multi-threaded operations Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants