aboutsummaryrefslogtreecommitdiff
path: root/lib/client.ml
diff options
context:
space:
mode:
authorAdelyn Breelove <[email protected]>2019-01-29 13:38:27 -0700
committerAdelyn Breelove <[email protected]>2019-01-29 13:38:27 -0700
commit43ad34645cd2dd18553a5e647a951963b91f322e (patch)
treee91364ae70b9b009d60fadb4d6a1dfe9a82b73e7 /lib/client.ml
parentCompression!!! (diff)
downloaddisml-43ad34645cd2dd18553a5e647a951963b91f322e.tar.xz
disml-43ad34645cd2dd18553a5e647a951963b91f322e.zip
A few improvements to how compression is handled internally
Diffstat (limited to 'lib/client.ml')
-rw-r--r--lib/client.ml5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/client.ml b/lib/client.ml
index dd69910..8241046 100644
--- a/lib/client.ml
+++ b/lib/client.ml
@@ -6,11 +6,10 @@ type t = {
sharder: Sharder.t;
}
-let start ?count ?(compress=false) ?(large=250) token =
+let start ?count ?compress ?(large=250) token =
Client_options.token := token;
- Client_options.compress := compress;
Client_options.large_threshold := large;
- Sharder.start ?count ()
+ Sharder.start ?count ?compress ()
>>| fun sharder ->
{ sharder; }