File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,14 @@ Uploadcare::Rails.configure do |config|
2121 # Deletes files from Uploadcare servers after object destroy
2222 config.delete_files_after_destroy = true
2323
24- # These options enable ActiveJob background jobs to perform operations in background.
25- # Options work only if 'store_files_after_save' is enabled and
26- # 'delete_files_after_destroy' is enabled.
27- config.store_files_async = true
28- config.delete_files_async = true
24+ # These options enable ActiveJob background jobs to perform file operations asynchronously.
25+ # IMPORTANT: Enabling these options requires a configured ActiveJob adapter (e.g., Sidekiq,
26+ # Resque, or Delayed Job) and a working queueing system. Without a proper ActiveJob backend,
27+ # enabling these options will cause runtime failures.
28+ # Note: store_files_async only takes effect when store_files_after_save is true.
29+ # Note: delete_files_async only takes effect when delete_files_after_destroy is true.
30+ config.store_files_async = false
31+ config.delete_files_async = false
2932
3033 # =============================================================================
3134 # Caching Options
You can’t perform that action at this time.
0 commit comments