Skip to content

Commit

Permalink
compat with newer, log-enabled, tiny_httpd
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Jan 24, 2024
1 parent 563cd7a commit 80de079
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/server/benchpress_server.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1735,10 +1735,6 @@ module Cmd = struct
in
(* thread to execute tasks *)
let _th_r = Thread.create Task_queue.loop self.task_q in
(* trick: see if debug level is active *)
Log.debug (fun k ->
H._enable_debug true;
k "enable http debug");
(* maybe serve the API *)
Printf.printf "listen on http://localhost:%d/\n%!" (H.port server);
handle_root self;
Expand Down

0 comments on commit 80de079

Please sign in to comment.