Skip to content

Retry to establish database and redis connection a few times before raising an error #181

Description

@sunu

Sometimes databases restart for maintenance while a long running crawler is running. Instead of immediately quitting with an in that case, we should retry to establish the connection a few times with back off to allow some time for the database to recover.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions