Skip to content

Fix Sidekiq::Worker::EnqueueFromTransactionError in audit event stream

What does this MR do and why?

Addresses #382718 (closed)

This change fixes the Sidekiq::Worker::EnqueueFromTransactionError exception when streaming audit events by calling run_after_commit_or_now. The AuditEvent model already has included AfterCommitQueue so it should work fine.

How to set up and validate locally

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports