mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
increase purge site settings for imports in case jobs like clean_up_uploads cause a mess
This commit is contained in:
@ -90,6 +90,10 @@ class ImportScripts::Base
|
||||
SiteSetting.set(key, value)
|
||||
end
|
||||
|
||||
# Some changes that should not be rolled back after the script is done
|
||||
SiteSetting.purge_unactivated_users_grace_period_days = 60
|
||||
SiteSetting.purge_deleted_uploads_grace_period_days = 90
|
||||
|
||||
RateLimiter.disable
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user