aboutsummaryrefslogtreecommitdiff
path: root/lib/client.ml
diff options
context:
space:
mode:
authorAdelyn Breelove <[email protected]>2019-01-29 10:01:35 -0700
committerAdelyn Breelove <[email protected]>2019-01-29 10:01:35 -0700
commit16cba5acd05093c66ab1432b40d40605c1098407 (patch)
tree28adffb77476315809fe133993c243c036447dc4 /lib/client.ml
parentRemove outdated docs (diff)
downloaddisml-16cba5acd05093c66ab1432b40d40605c1098407.tar.xz
disml-16cba5acd05093c66ab1432b40d40605c1098407.zip
Add client options
Diffstat (limited to 'lib/client.ml')
-rw-r--r--lib/client.ml4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/client.ml b/lib/client.ml
index 9fac420..dd69910 100644
--- a/lib/client.ml
+++ b/lib/client.ml
@@ -6,8 +6,10 @@ type t = {
sharder: Sharder.t;
}
-let start ?count token =
+let start ?count ?(compress=false) ?(large=250) token =
Client_options.token := token;
+ Client_options.compress := compress;
+ Client_options.large_threshold := large;
Sharder.start ?count ()
>>| fun sharder ->
{ sharder; }