You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only cases of our code hitting the `panic!()` in production so far have been because of a read-only Postgres database during database server maintenance. The r2d2 connection pool automatically recovers from this though.
In other words: there is no benefit in us panicking after five failures if in all observed instances it would have been sufficient to wait for the database to recover.
Since the startup on production takes multiple minutes due to the index repository cloning it seems somewhat bad to restart the whole dyno after just five seconds of database connection issues.
0 commit comments