Skip to content

RetryOperationalError #120

@thelink2012

Description

@thelink2012

Is there any way to replicate RetryOperationalError of peewee in peewee_async?

I have tried inheriting from RetryOperationalError and overriding execute (closing and retrying on error), but that does not quite work, specially for transactions. For reference, what peewee does is override execute_sql and retries on error.

Thank you in advanced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions