Bug: Various sentry bugs #388
Description
Using this as a placeholder for all the new bugs until we can write out full issues:
1. ActiveRecord::ConnectionTimeoutError: could not obtain a connection from the pool within 5.000 seconds (waited 5.000 seconds); all pool...
2. Slack::Client::InviteFailed: {"ok"=>false, "error"=>"token_revoked"}
3. ActiveJob::DeserializationError: Error while trying to deserialize arguments: FATAL: database "opcode-postgres" does not exist
4. ActiveRecord::NoDatabaseError: FATAL: database "opcode-postgres" does not exist
5. ActiveRecord::ConnectionTimeoutError: could not obtain a connection from the pool within 5.000 seconds (waited 5.000 seconds); all pool...
It appears when new users sign up we get a group of (2, 4, 3) at the same time.
I think 2 can be corrected by adding a legacy token to environment vars.
The other ones will take more troubleshooting and I'd like to get the full stack traces.