-
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:
|
if date is None:
|
||||||
return
|
return
|
||||||
delta = datetime.datetime.utcnow() - date
|
delta = datetime.datetime.utcnow() - date
|
||||||
|
print(delta)
|
||||||
if delta.total_seconds() > DELETE_TIMEOUT:
|
if delta.total_seconds() > DELETE_TIMEOUT:
|
||||||
db.del_image_allocation_id(self.Id)
|
db.del_image_allocation_id(self.Id)
|
||||||
print("deleted:", self.Id)
|
print("deleted:", self.Id)
|
||||||
|
Loading…
Reference in New Issue
Block a user