mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-06 03:05:30 -05:00
Update src/d_pool_.ml
This commit is contained in:
parent
c0db72b40c
commit
c1b6312cad
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ type worker_state = {
|
|||
(** Array of (optional) workers.
|
||||
|
||||
Workers are started/stop on demand. *)
|
||||
let domains_ : (worker_state option * unit Domain.t option) Lock.t array =
|
||||
let domains_ : (worker_state option * unit Domain_.t option) Lock.t array =
|
||||
(* number of domains we spawn. Note that we spawn n-1 domains
|
||||
because there already is the main domain running. *)
|
||||
let n = max 1 (Domain_.recommended_number () - 1) in
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue