fix #2
@ -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