mirror of
https://github.com/vale981/jobmanager
synced 2025-03-05 09:51:38 -05:00
added speed to status infoline
This commit is contained in:
parent
4b494f085b
commit
bdb1c6ba72
1 changed files with 6 additions and 1 deletions
|
@ -1802,6 +1802,11 @@ class JobManager_Server(object):
|
|||
# allows for update of the info line
|
||||
try:
|
||||
arg, result = self.result_q.get(timeout=self.msg_interval)
|
||||
d_args = pickle.dumps(arg)
|
||||
d_res = pickle.dumps(result)
|
||||
print("args", len(d_args), humanize_size(len(d_args)),"res", len(d_res), humanize_size(len(d_res)))
|
||||
del d_args
|
||||
del d_res
|
||||
except queue.Empty:
|
||||
continue
|
||||
# print("got arg", arg)
|
||||
|
|
Loading…
Add table
Reference in a new issue