aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdelyn Breelove <[email protected]>2019-01-29 13:39:33 -0700
committerAdelyn Breelove <[email protected]>2019-01-29 13:39:33 -0700
commitbabce906400f5188f7da31a7a65f523b42be253e (patch)
treea577220d554c0805669e99701d9f55ebc66e72d4 /lib
parentA few improvements to how compression is handled internally (diff)
downloaddisml-babce906400f5188f7da31a7a65f523b42be253e.tar.xz
disml-babce906400f5188f7da31a7a65f523b42be253e.zip
Remove some debug code
Diffstat (limited to 'lib')
-rw-r--r--lib/sharder.ml4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/sharder.ml b/lib/sharder.ml
index d8470fd..cae5356 100644
--- a/lib/sharder.ml
+++ b/lib/sharder.ml
@@ -60,7 +60,6 @@ module Shard = struct
| Text | Binary ->
let s = if compress then try_decompress s.content
else s.content in
- (* Logs.debug (fun m -> m "%s" s); *)
Some (Yojson.Safe.from_string s)
| _ -> None
end
@@ -238,9 +237,6 @@ module Shard = struct
| _ -> 443 in
let scheme = Option.value_exn ~message:"no scheme in uri" Uri.(scheme uri) in
let tcp_fun (net_to_ws, ws_to_net) =
- (* Writer.monitor ws_to_net
- |> Monitor.detach_and_get_error_stream
- |> Stream.iter ~f:(fun e -> Logs.err (fun m -> m "Socket Connection Error: %s" (Exn.sexp_of_t e |> Sexp.to_string_hum))); *)
let (app_to_ws, write) = Pipe.create () in
let (read, ws_to_app) = Pipe.create () in
let initialized = Ivar.create () in