mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 20:45:51 +00:00
DEV: disable missing post uploads check by default.
This commit is contained in:
parent
47eefb9f37
commit
2c7a50860f
@ -8,6 +8,8 @@ module Jobs
|
|||||||
MISSING_UPLOADS ||= "missing_uploads"
|
MISSING_UPLOADS ||= "missing_uploads"
|
||||||
|
|
||||||
def execute(args)
|
def execute(args)
|
||||||
|
return unless SiteSetting.enable_missing_post_uploads_check
|
||||||
|
|
||||||
PostCustomField
|
PostCustomField
|
||||||
.where(name: MISSING_UPLOADS)
|
.where(name: MISSING_UPLOADS)
|
||||||
.where("created_at < ?", 1.month.ago)
|
.where("created_at < ?", 1.month.ago)
|
||||||
|
@ -1483,6 +1483,9 @@ developer:
|
|||||||
enable_safe_mode:
|
enable_safe_mode:
|
||||||
default: true
|
default: true
|
||||||
client: true
|
client: true
|
||||||
|
enable_missing_post_uploads_check:
|
||||||
|
default: false
|
||||||
|
hidden: true
|
||||||
|
|
||||||
embedding:
|
embedding:
|
||||||
feed_polling_enabled:
|
feed_polling_enabled:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user