memorious icon indicating copy to clipboard operation
memorious copied to clipboard

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

Open sunu opened this issue 4 years ago • 0 comments

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.

sunu avatar May 31 '21 11:05 sunu