File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ def __init__(self) -> None:
278
278
self .pending_jobs = [] # type: List[JobsType]
279
279
self .pending_jobs_lock = threading .Lock ()
280
280
281
- self .max_ram = int (psutil .virtual_memory ().available / 2 ** 20 ) # type: ignore[no-untyped-call]
281
+ self .max_ram = int (psutil .virtual_memory ().available / 2 ** 20 )
282
282
self .max_cores = float (psutil .cpu_count ())
283
283
self .allocated_ram = float (0 )
284
284
self .allocated_cores = float (0 )
Original file line number Diff line number Diff line change @@ -909,7 +909,7 @@ def docker_monitor(
909
909
cid = cidhandle .readline ().strip ()
910
910
except (OSError ):
911
911
cid = None
912
- max_mem = psutil .virtual_memory ().total # type: ignore[no-untyped-call]
912
+ max_mem = psutil .virtual_memory ().total
913
913
tmp_dir , tmp_prefix = os .path .split (tmpdir_prefix )
914
914
stats_file = tempfile .NamedTemporaryFile (prefix = tmp_prefix , dir = tmp_dir )
915
915
stats_file_name = stats_file .name
You can’t perform that action at this time.
0 commit comments