Skip to content

Conversation

@eregon
Copy link
Member

@eregon eregon commented Dec 22, 2025

  • Prevent concurrent Thread#raise calls by tracking interruptible and interrupting states, and waiting if there is already an ongoing interrupt that we reach Request#finished.

@eregon eregon changed the title WIP: Handle nested timeouts call with same duration Handle nested timeout calls with the same duration Dec 22, 2025
* Prevent concurrent Thread#raise calls by tracking
  interruptible and interrupting states, and waiting
  if there is already an ongoing interrupt that we reach
  Request#finished.
@eregon
Copy link
Member Author

eregon commented Dec 22, 2025

Note: maybe we should wait longer than Request#finished, e.g. to cover Error.handle_timeout logic too? Not sure it matters, if that gets interrupted by Thread#raise it seems fine enough, the current exception will be lost anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant