Commit 4ea55ada authored by Fardale's avatar Fardale
Browse files

reserve more cpu

parent 49c45207
......@@ -66,7 +66,7 @@ let get_available_cpu () =
match (cpu_count, loadavg) with
| Some cpu_count, Some loadavg ->
cpu_count
- CCFloat.(ceil (CCFloat.max loadavg !current_load +. 1.5) |> to_int)
- CCFloat.(ceil (CCFloat.max loadavg !current_load +. 1.7) |> to_int)
| _ -> 0
let get_available_ram () =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment