Skip to content

Fix double firing of check_request_enabled #228

@adamchainz

Description

@adamchainz

The check_request_enabled signal can fire twice during process_response, but really we should only do it once. Handlers could be expensive, e.g. doing database queries, and there's no reason they should be expected to cache their results.

Reported by @MarkusH.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions