Skip to content

Commit

Permalink
Update task_manager_index.py
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Jun 5, 2024
1 parent c24510e commit 8d0ee48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/task_manager/task_manager_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def get_process_net_list(self):
tmp['up_package'] = int(np_list[4])
self.__process_net_list[tmp['pid']] = tmp

if time.time() - self.last_net_process_time > 600 or self.last_net_process_time == 0:
if time.time() - self.last_net_process_time > 6 or self.last_net_process_time == 0:
self.last_net_process = copy.deepcopy(self.__process_net_list)
self.last_net_process_time = time.time()

Expand Down

0 comments on commit 8d0ee48

Please sign in to comment.