mirror of
https://github.com/tubearchivist/tubearchivist.git
synced 2025-01-15 13:20:12 +00:00
fix reindex active_key
This commit is contained in:
parent
5888e5442a
commit
9a526f93f4
@ -100,7 +100,7 @@ class ReindexOutdated(ReindexBase):
|
||||
refresh_key = reindex_config["refresh_key"]
|
||||
now_lte = self.now - self.interval * 24 * 60 * 60
|
||||
must_list = [
|
||||
{"match": {"active": True}},
|
||||
{"match": {reindex_config["active_key"]: True}},
|
||||
{"range": {refresh_key: {"lte": now_lte}}},
|
||||
]
|
||||
data = {
|
||||
|
Loading…
Reference in New Issue
Block a user