There was an error while loading. Please reload this page.
1 parent 684379c commit 2adc441Copy full SHA for 2adc441
1 file changed
mrq/worker.py
@@ -129,13 +129,13 @@ def ensure_indexes(self):
129
[("datereported", 1)], background=False, expireAfterSeconds=3600)
130
131
self.mongodb_jobs.mrq_jobs.ensure_index(
132
- [("status", 1)], background=False)
+ [("status", 1)], background=True)
133
134
- [("path", 1), ("status", 1)], background=False)
+ [("path", 1)], background=True)
135
136
- [("worker", 1), ("status", 1)], background=False, sparse=True)
+ [("worker", 1)], background=True, sparse=True)
137
138
- [("queue", 1), ("status", 1)], background=False)
+ [("queue", 1)], background=True)
139
140
[("dateexpires", 1)], sparse=True, background=False, expireAfterSeconds=0)
141
0 commit comments