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:
Gerhard Schlager 2020-03-24 17:07:59 +01:00
parent c939001876
commit 5b2b769eb7
1 changed files with 3 additions and 1 deletions

View File

@ -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