mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-27 02:10:52 +08:00
v1.39.2
This commit is contained in:
parent
502141edc8
commit
75ff12b33d
2 changed files with 4 additions and 2 deletions
|
@ -104,7 +104,9 @@ class Indexer {
|
|||
}
|
||||
|
||||
if (payload) {
|
||||
let hasFeatureFlag = await db.redis.sismember(`feature:indexing`, entry.user.toString());
|
||||
let hasFeatureFlag =
|
||||
(config.enabledFeatureFlags && config.enabledFeatureFlags.indexer) || (await db.redis.sismember(`feature:indexing`, entry.user.toString()));
|
||||
|
||||
if (!hasFeatureFlag) {
|
||||
log.silly('Indexer', `Feature flag not set, skipping user=%s command=%s message=%s`, entry.user, entry.command, entry.message);
|
||||
return;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "wildduck",
|
||||
"version": "1.39.1",
|
||||
"version": "1.39.2",
|
||||
"description": "IMAP/POP3 server built with Node.js and MongoDB",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in a new issue