Skip to content
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

Add proper synchronisation to WebSocketTestSession #2597

Merged
merged 5 commits into from
Jul 20, 2024

Commits on May 20, 2024

  1. Add proper synchronisation to WebSocketTestSession

    `anyio.sleep(0)` is often used as a way to yield to another task.
    However, depending on event loop implememtation it is not guaranteed to
    actually do so in a timely manner.
    This commit alters this behaviour in _asgi_receive by using
    `anyio.Event`s as a simple synchronisation primitive, dramatically
    speeding up the session depending on underlying system/implementation.
    Olocool17 committed May 20, 2024
    Configuration menu
    Copy the full SHA
    ceec783 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. Fix mypy type errors

    Jinja 3.1.4 slightly changed the argument types of FileSystemLoader.
    Olocool17 committed May 21, 2024
    Configuration menu
    Copy the full SHA
    884c74d View commit details
    Browse the repository at this point in the history
  2. Formatting

    Olocool17 committed May 21, 2024
    Configuration menu
    Copy the full SHA
    c881ebb View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2024

  1. Configuration menu
    Copy the full SHA
    454cf6f View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2024

  1. Configuration menu
    Copy the full SHA
    37c93be View commit details
    Browse the repository at this point in the history