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)
|
SiteSetting.set(key, value)
|
||||||
end
|
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
|
RateLimiter.disable
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue