mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-08-30 10:56:37 +02:00
fix: auto-enable post queue as default, adjust tests to compensate
This commit is contained in:
@@ -24,8 +24,8 @@
|
|||||||
"newbieChatMessageDelay": 120000,
|
"newbieChatMessageDelay": 120000,
|
||||||
"notificationSendDelay": 60,
|
"notificationSendDelay": 60,
|
||||||
"newbieReputationThreshold": 3,
|
"newbieReputationThreshold": 3,
|
||||||
"postQueue": 0,
|
"postQueue": 1,
|
||||||
"postQueueReputationThreshold": 0,
|
"postQueueReputationThreshold": 1,
|
||||||
"groupsExemptFromPostQueue": ["administrators", "Global Moderators"],
|
"groupsExemptFromPostQueue": ["administrators", "Global Moderators"],
|
||||||
"groupsExemptFromNewUserRestrictions": ["administrators", "Global Moderators"],
|
"groupsExemptFromNewUserRestrictions": ["administrators", "Global Moderators"],
|
||||||
"groupsExemptFromMaintenanceMode": ["administrators", "Global Moderators"],
|
"groupsExemptFromMaintenanceMode": ["administrators", "Global Moderators"],
|
||||||
|
|||||||
@@ -194,6 +194,7 @@ async function setupMockDefaults() {
|
|||||||
meta.config.newbiePostDelay = 0;
|
meta.config.newbiePostDelay = 0;
|
||||||
meta.config.autoDetectLang = 0;
|
meta.config.autoDetectLang = 0;
|
||||||
meta.config.activitypubProbeTimeout = 30000;
|
meta.config.activitypubProbeTimeout = 30000;
|
||||||
|
meta.config.postQueue = 0;
|
||||||
|
|
||||||
require('../../src/groups').cache.reset();
|
require('../../src/groups').cache.reset();
|
||||||
require('../../src/posts/cache').getOrCreate().reset();
|
require('../../src/posts/cache').getOrCreate().reset();
|
||||||
|
|||||||
Reference in New Issue
Block a user