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
|
@ -1801,7 +1801,12 @@ class JobManager_Server(object):
|
||||||
log.info("infoline {}".format(info_line.value))
|
log.info("infoline {}".format(info_line.value))
|
||||||
# allows for update of the info line
|
# allows for update of the info line
|
||||||
try:
|
try:
|
||||||
arg, result = self.result_q.get(timeout=self.msg_interval)
|
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:
|
except queue.Empty:
|
||||||
continue
|
continue
|
||||||
# print("got arg", arg)
|
# print("got arg", arg)
|
||||||
|
|
Loading…
Add table
Reference in a new issue