From a72d90d4b0b0e2b2db75a6385bc985d30885ba49 Mon Sep 17 00:00:00 2001 From: Their Name Date: Thu, 6 Jan 2022 04:21:31 +0000 Subject: [PATCH] fix index stats error --- common/management/commands/index_stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/management/commands/index_stats.py b/common/management/commands/index_stats.py index a7e0721d..50976b58 100644 --- a/common/management/commands/index_stats.py +++ b/common/management/commands/index_stats.py @@ -23,7 +23,7 @@ class Command(BaseCommand): stats = Indexer.get_stats() print(stats) st = Indexer.instance().get_all_update_status() - cnt = {"enqueued": [0, 0], "processing": [0, 0], "processed": [0, 0]} + cnt = {"enqueued": [0, 0], "processing": [0, 0], "processed": [0, 0], "failed": [0, 0]} lastEnq = {"enqueuedAt": ""} lastProc = {"enqueuedAt": ""} for s in st: