DEV: disable missing post uploads check by default.

This commit is contained in:
Vinoth Kannan 2019-04-05 02:29:10 +05:30
parent 47eefb9f37
commit 2c7a50860f
2 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,8 @@ module Jobs
MISSING_UPLOADS ||= "missing_uploads"
def execute(args)
return unless SiteSetting.enable_missing_post_uploads_check
PostCustomField
.where(name: MISSING_UPLOADS)
.where("created_at < ?", 1.month.ago)

View File

@ -1483,6 +1483,9 @@ developer:
enable_safe_mode:
default: true
client: true
enable_missing_post_uploads_check:
default: false
hidden: true
embedding:
feed_polling_enabled: