Skip to content
Snippets Groups Projects
Commit 079c1053 authored by Valentin Perrelle's avatar Valentin Perrelle
Browse files

[Server] Only show polls on `-server-debug 3` or more

parent f93bba26
No related branches found
No related tags found
No related merge requests found
......@@ -209,7 +209,7 @@ let kill_exec e = e.killed <- true
let kill_request eq id e = if eq id e.id then e.killed <- true
let process_request (server : 'a server) (request : 'a request) : unit =
if Senv.debug_atleast 1 then
if Senv.debug_atleast 1 && (Senv.debug_atleast 3 || request <> `Poll) then
Senv.debug "%a" (pp_request server.pretty) request ;
match request with
| `Poll -> ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment