Skip to content

Commit

Permalink
Merge pull request #782 from openvstorage/preemptive_detach_default
Browse files Browse the repository at this point in the history
change and document defaults
  • Loading branch information
Romain Slootmaekers authored Aug 10, 2017
2 parents 08bae27 + e310fc5 commit 23ba93a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions cfg/proxy_demo.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@
// node_ids of osds that are considered closer, default []
, "read_preference" : []


, "lwt_preemptive_thread_pool_min_size" : 10 // optional, default 10
, "lwt_preemptive_thread_pool_max_size" : 20 // optional, default 20
}
4 changes: 2 additions & 2 deletions ocaml/src/cli_proxy.ml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ module Config = struct
nsm_host_connection_pool_size : (int [@default 10]);
osd_connection_pool_size : (int [@default 10]);
osd_timeout : float [@default 10.];
lwt_preemptive_thread_pool_min_size : (int [@default 6]);
lwt_preemptive_thread_pool_max_size : (int [@default 8]);
lwt_preemptive_thread_pool_min_size : (int [@default 10]);
lwt_preemptive_thread_pool_max_size : (int [@default 20]);
chattiness : float option [@default None];
max_client_connections : int [@default 128];
tls_client : Tls.t option [@default None];
Expand Down

0 comments on commit 23ba93a

Please sign in to comment.