buzzn / core

Die Kraft der Gemeinschaft
GNU Affero General Public License v3.0
1 stars 0 forks source link

sidekiq: mailings are sometimes not set to queued state #1512

Open mguentner opened 5 years ago

mguentner commented 5 years ago

We don't know why this happens. Some time ago it happend because the mailing was triggered before the record was saved to the database. This resulted in sidekiq loading the Billing which was still in documented state and thus decided not to change the state to delivered.

We need to investigate whether this happens now. Maybe there is some caching going on besides the initial timing issue.