-
This commit is contained in:
parent
1bfb2c9ca1
commit
4b43337b02
1
utils.py
1
utils.py
@ -83,6 +83,7 @@ class PingThread(threading.Thread):
|
||||
if date is None:
|
||||
return
|
||||
delta = datetime.datetime.utcnow() - date
|
||||
print(delta)
|
||||
if delta.total_seconds() > DELETE_TIMEOUT:
|
||||
db.del_image_allocation_id(self.Id)
|
||||
print("deleted:", self.Id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user