Files
fizzy/config
Mike Dalessio 2c2a1c4b4a Make sure jobs are enqueued only after all transactions are committed
This should fix the recurring ActiveStorage::FileNotFoundError errors
from ActiveStorage::AnalyzeJob.

The issue is that, when images are not direct uploaded (e.g. a card
background image or avatar image), the AnalyzeJob has been getting
enqueued before the file itself was uploaded to blob storage.

Setting ActiveJob::Base.enqueue_after_transaction_commit = true makes
sure that jobs are always enqueued only once *all* transactions have
been committed.

This will be the Rails default at some point, but for now we still
need to explicitly set it.

Big thanks to @jeremy for the assist. 👏
2025-11-20 18:47:42 -05:00
..
2025-09-16 20:04:20 +02:00
2025-11-17 09:12:41 -05:00
2024-06-21 13:19:56 +01:00
2024-06-21 13:19:56 +01:00
2025-11-17 09:12:41 -05:00
2025-11-17 09:11:57 -05:00
2025-11-17 09:12:41 -05:00
2025-11-17 09:11:28 -05:00
2025-11-17 09:11:28 -05:00
2024-06-21 13:19:56 +01:00
2025-10-16 09:54:18 -04:00
2025-10-14 19:11:50 -04:00