Compare commits
2 Commits
a3e3e568b4
...
98abc79a8e
Author | SHA1 | Date | |
---|---|---|---|
98abc79a8e | |||
4cb66ba293 |
@ -18,9 +18,3 @@ def create_indexes():
|
|||||||
database.get_collection('locks').create_index([
|
database.get_collection('locks').create_index([
|
||||||
('name', 1),
|
('name', 1),
|
||||||
], unique=True)
|
], unique=True)
|
||||||
|
|
||||||
|
|
||||||
def remove_outdated():
|
|
||||||
client = pymongo.MongoClient(CONNECTION_STRING)
|
|
||||||
while True:
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user