mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
FIX: Enforce proper max for clean_orphan_uploads_grace_period_hours (#25235)
* FIX: Enforce proper max for clean_orphan_uploads_grace_period_hours * Cast * Set clean_orphan_uploads_grace_period_hours to max allowed
This commit is contained in:
@ -84,7 +84,7 @@ class ImportScripts::Base
|
||||
clean_up_inactive_users_after_days: 0,
|
||||
clean_up_unused_staged_users_after_days: 0,
|
||||
clean_up_uploads: false,
|
||||
clean_orphan_uploads_grace_period_hours: 1800,
|
||||
clean_orphan_uploads_grace_period_hours: 168,
|
||||
}
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user