-
This commit is contained in:
parent
81ac38c76e
commit
08ff961201
2
app.py
2
app.py
@ -38,7 +38,9 @@ class PingThread(threading.Thread):
|
|||||||
def check_allocation_thread_function():
|
def check_allocation_thread_function():
|
||||||
while True:
|
while True:
|
||||||
ids = db.get_image_allocation_all()
|
ids = db.get_image_allocation_all()
|
||||||
|
print(ids)
|
||||||
for x in ids:
|
for x in ids:
|
||||||
|
print(x)
|
||||||
ip = db.get_image_allocation_clientip_id(x)
|
ip = db.get_image_allocation_clientip_id(x)
|
||||||
ping_thread = PingThread(ip, x)
|
ping_thread = PingThread(ip, x)
|
||||||
ping_thread.start()
|
ping_thread.start()
|
||||||
|
Loading…
Reference in New Issue
Block a user