From 1cef11edb8f00979038ec233a913fdb42372b40f Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Wed, 5 Feb 2025 08:33:39 +0100 Subject: [PATCH] add kaladin_queue index --- bin/mongodb/indexes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/mongodb/indexes.js b/bin/mongodb/indexes.js index c27decff0b26..6a5df48602f6 100644 --- a/bin/mongodb/indexes.js +++ b/bin/mongodb/indexes.js @@ -302,6 +302,7 @@ db.title_request.createIndex({ 'history.0.status.n': 1, 'history.0.at': 1 }); db.insight.createIndex({ mr: 1, p: 1, c: 1 }); db.insight.createIndex({ mr: 1, a: 1 }, { partialFilterExpression: { mr: { $exists: true } } }); db.insight.createIndex({ u: 1, d: -1 }); +db.kaladin_queue.createIndex({ 'response.at': 1, 'response.read': 1 }, { partialFilterExpression: { 'response.at': { $exists: true } } }) // you may want to run these on the puzzle database db.puzzle2_round.createIndex({ p: 1 }, { partialFilterExpression: { t: { $exists: true } } });