Compare commits
No commits in common. "98abc79a8e9ee9829acae16d0991e2f20f4d5294" and "a3e3e568b4e3d81046601e91b74f949c22eb3434" have entirely different histories.
98abc79a8e
...
a3e3e568b4
@ -18,3 +18,9 @@ def create_indexes():
|
||||
database.get_collection('locks').create_index([
|
||||
('name', 1),
|
||||
], unique=True)
|
||||
|
||||
|
||||
def remove_outdated():
|
||||
client = pymongo.MongoClient(CONNECTION_STRING)
|
||||
while True:
|
||||
|
Loading…
Reference in New Issue
Block a user