diff options
| author | Adelyn Breelove <[email protected]> | 2019-01-29 13:38:27 -0700 |
|---|---|---|
| committer | Adelyn Breelove <[email protected]> | 2019-01-29 13:38:27 -0700 |
| commit | 43ad34645cd2dd18553a5e647a951963b91f322e (patch) | |
| tree | e91364ae70b9b009d60fadb4d6a1dfe9a82b73e7 /lib/client.ml | |
| parent | Compression!!! (diff) | |
| download | disml-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.ml | 5 |
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; }
|