File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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:
278278 self .pending_jobs = [] # type: List[JobsType]
279279 self .pending_jobs_lock = threading .Lock ()
280280
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 )
282282 self .max_cores = float (psutil .cpu_count ())
283283 self .allocated_ram = float (0 )
284284 self .allocated_cores = float (0 )
Original file line number Diff line number Diff line change @@ -909,7 +909,7 @@ def docker_monitor(
909909 cid = cidhandle .readline ().strip ()
910910 except (OSError ):
911911 cid = None
912- max_mem = psutil .virtual_memory ().total # type: ignore[no-untyped-call]
912+ max_mem = psutil .virtual_memory ().total
913913 tmp_dir , tmp_prefix = os .path .split (tmpdir_prefix )
914914 stats_file = tempfile .NamedTemporaryFile (prefix = tmp_prefix , dir = tmp_dir )
915915 stats_file_name = stats_file .name
You can’t perform that action at this time.
0 commit comments