`MailScheduler::NotificationServiceWorker.perform_async` error when installing
== Seed from /Users/Annabel/Repositories/gdk-ee/gitlab/db/fixtures/development/19_environments.rb
OK
== Seed from /Users/Annabel/Repositories/gdk-ee/gitlab/db/fixtures/development/20_burndown.rb
.
.
rake aborted!
Sidekiq::Worker::EnqueueFromTransactionError: `MailScheduler::NotificationServiceWorker.perform_async` cannot be called inside a transaction as this can lead to
race conditions when the worker runs before the transaction is committed and
tries to access a model that has not been saved yet.
Use an `after_commit` hook, or include `AfterCommitQueue` and use a `run_after_commit` block instead.