OperationCode/operationcode_backend

Bug: leader email job

apex-omontgomery opened this issue · 1 comments

Bug Report

What is the current behavior?

Currently there's issues with how sidekiq is connecting to the postgres instance. It's verified that:
app/jobs/send_email_to_leaders_job.rb
is causing:
ActiveRecord::NoDatabaseError: FATAL: database "opcode-postgres" does not exist

due to not finding the database, but other database queries work.

What is the expected behavior?

This is a functionality that isn't complete, and shouldn't be active. Until we can verify a fix this the short term solution is to turn off these jobs (to prevent error spamming our monitoring).

For detailed logs/ errors please message me on slack: @long_common_name

Fixed with: #391