From babce906400f5188f7da31a7a65f523b42be253e Mon Sep 17 00:00:00 2001 From: Adelyn Breelove Date: Tue, 29 Jan 2019 13:39:33 -0700 Subject: Remove some debug code --- lib/sharder.ml | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/sharder.ml') 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 -- cgit v1.2.3