DEV: Ensure uploads aren't deleted during imports
Sidekiq might delete uploads if you, for some reason, create upload records before using them in posts.
This commit is contained in:
parent
c939001876
commit
5b2b769eb7
|
@ -83,7 +83,9 @@ class ImportScripts::Base
|
|||
max_image_size_kb: 102400,
|
||||
authorized_extensions: '*',
|
||||
clean_up_inactive_users_after_days: 0,
|
||||
clean_up_unused_staged_users_after_days: 0
|
||||
clean_up_unused_staged_users_after_days: 0,
|
||||
clean_up_uploads: false,
|
||||
clean_orphan_uploads_grace_period_hours: 1800
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue