mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update task_manager_index.py
This commit is contained in:
@@ -74,8 +74,8 @@ class mainClass(object):
|
||||
def get_process_net_list(self):
|
||||
w_file = '/dev/shm/mw_net_process'
|
||||
if not os.path.exists(w_file): return
|
||||
self.last_net_process = cache.get('net_process')
|
||||
self.last_net_process_time = cache.get('last_net_process')
|
||||
# self.last_net_process = cache.get('net_process')
|
||||
# self.last_net_process_time = cache.get('last_net_process')
|
||||
net_process_body = mw.readFile(w_file)
|
||||
if not net_process_body: return
|
||||
net_process = net_process_body.split('\n')
|
||||
|
||||
Reference in New Issue
Block a user