Skip to content

Handle OperationalError #16

@Lordfirespeed

Description

@Lordfirespeed
(psycopg.errors.AdminShutdown) terminating connection due to administrator command
...
File "/var/www/deploy.durhack.com/.venv/lib/python3.13/site-packages/sqlalchemy/engine/default.py", line 942, in do_execute

See https://docs.sqlalchemy.org/en/20/errors.html#error-e3q8

We need to handle OperationalErrors appropriately, e.g. by retrying a few times before sending events to a dead-letters queue

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