diff options
| author | Adelyn Breelove <[email protected]> | 2019-01-29 10:01:35 -0700 |
|---|---|---|
| committer | Adelyn Breelove <[email protected]> | 2019-01-29 10:01:35 -0700 |
| commit | 16cba5acd05093c66ab1432b40d40605c1098407 (patch) | |
| tree | 28adffb77476315809fe133993c243c036447dc4 /lib/client.ml | |
| parent | Remove outdated docs (diff) | |
| download | disml-16cba5acd05093c66ab1432b40d40605c1098407.tar.xz disml-16cba5acd05093c66ab1432b40d40605c1098407.zip | |
Add client options
Diffstat (limited to 'lib/client.ml')
| -rw-r--r-- | lib/client.ml | 4 |
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; }
|