increase purge site settings for imports in case jobs like clean_up_uploads cause a mess

This commit is contained in:
Neil Lalonde 2018-04-09 12:44:59 -04:00
parent bd7100a062
commit 6e8bf1271f

View File

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