We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ff08de commit b451c9fCopy full SHA for b451c9f
add_indexes.py
@@ -10,3 +10,6 @@
10
11
for pool_id in database.get_pool_ids():
12
database.db['users'].create_index([('total_cr.' + pool_id, pymongo.DESCENDING)])
13
+
14
+database.db['actions'].create_index([('queue_id', pymongo.ASCENDING)])
15
+database.db['actions'].create_index([('queue_id', pymongo.ASCENDING), ('time', pymongo.ASCENDING)])
0 commit comments