Skip to content

Mysql "Server gone away" with reversion middleware in uWSGI #997

@RemiDesgrange

Description

@RemiDesgrange

Hi,

I have a weird bug happening in production,

I have (tried to) enable the reversion middleware in my django app, in dev and tests it works fine, but in prod-env scenario with uWSGI I have a lot of "Server gone away" reported, I have suspected the thread option of uWSGI but ContextVar seems to be "thread-aware" according to the doc

Is there anyone that has experienced this kind of weird behavior?

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