update disk io style

This commit is contained in:
cppla
2022-04-01 15:50:09 +08:00
parent 47cf7a1818
commit 654ecd7a3e
5 changed files with 15 additions and 5 deletions

View File

@@ -277,7 +277,7 @@ def get_realtime_data():
target=_net_speed,
)
t5 = threading.Thread(
target=_disk_io(),
target=_disk_io,
)
for ti in [t1, t2, t3, t4, t5]:
ti.setDaemon(True)