mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:16:38 -06:00
increase purge site settings for imports in case jobs like clean_up_uploads cause a mess
This commit is contained in:
parent
bd7100a062
commit
6e8bf1271f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user