Skip to content

Raise an exception if the authz client (grpc channel) is bound to the wrong event loop #1297

@leafty

Description

@leafty

The authz client is created on demand and bound to the current event loop. This works for the worker thread (request handlers), but if the condition is detected it may be useful to crash or report to Sentry.

Maybe we should crash?

Originally posted by @leafty in #1290 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions