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/sharder.ml | |
| parent | Remove outdated docs (diff) | |
| download | disml-16cba5acd05093c66ab1432b40d40605c1098407.tar.xz disml-16cba5acd05093c66ab1432b40d40605c1098407.zip | |
Add client options
Diffstat (limited to 'lib/sharder.ml')
| -rw-r--r-- | lib/sharder.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sharder.ml b/lib/sharder.ml index f98ee8f..65d137e 100644 --- a/lib/sharder.ml +++ b/lib/sharder.ml @@ -127,8 +127,8 @@ module Shard = struct ("$device", `String "dis.ml");
("$browser", `String "dis.ml")
]);
- ("compress", `Bool false); (* TODO add compression handling*)
- ("large_threshold", `Int 250);
+ ("compress", `Bool !Client_options.compress); (* TODO add compression handling*)
+ ("large_threshold", `Int !Client_options.large_threshold);
("shard", `List shards);
] in
push_frame ~payload ~ev:IDENTIFY shard
|