Skip to content

Commit

Permalink
Merge pull request #12846 from MinaProtocol/feature/debug-logs-in-net…
Browse files Browse the repository at this point in the history
…work-batcher

Demote network pool batch size logs to debug
  • Loading branch information
lk86 authored Mar 29, 2023
2 parents 9f1fe53 + 945d167 commit f936235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/network_pool/batcher.ml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ module Transaction_pool = struct
let create verifier : t =
let logger = Logger.create () in
create ~compare_init:compare_envelope ~logger (fun (ds : input list) ->
[%log info]
[%log debug]
"Dispatching $num_proofs transaction pool proofs to verifier"
~metadata:[ ("num_proofs", `Int (List.length ds)) ] ;
let open Deferred.Or_error.Let_syntax in
Expand Down Expand Up @@ -367,7 +367,7 @@ module Snark_pool = struct
(Sys.getenv_opt "MAX_VERIFIER_BATCH_SIZE") )
~compare_init:compare_envelope ~logger
(fun ps0 ->
[%log info] "Dispatching $num_proofs snark pool proofs to verifier"
[%log debug] "Dispatching $num_proofs snark pool proofs to verifier"
~metadata:[ ("num_proofs", `Int (List.length ps0)) ] ;
let ps =
List.concat_map ps0 ~f:(function
Expand Down

0 comments on commit f936235

Please sign in to comment.