Update task_manager_index.py

This commit is contained in:
Mr Chen 2024-06-05 17:48:26 +08:00
parent 8d0ee48aa6
commit a69d5367d7
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ class mainClass(object):
tmp['up_package'] = int(np_list[4])
self.__process_net_list[tmp['pid']] = tmp
if time.time() - self.last_net_process_time > 6 or self.last_net_process_time == 0:
if time.time() - self.last_net_process_time > 12 or self.last_net_process_time == 0:
self.last_net_process = copy.deepcopy(self.__process_net_list)
self.last_net_process_time = time.time()