mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
revert to no batching by default in Provider_config
This commit is contained in:
parent
e72b986f14
commit
4a097759d3
2 changed files with 3 additions and 3 deletions
|
|
@ -8,4 +8,4 @@ type t = {
|
|||
let make ?(batch : int option) ?(timeout = Mtime.Span.(2_000 * ms)) () : t =
|
||||
{ batch; timeout }
|
||||
|
||||
let default : t = make ~batch:200 ()
|
||||
let default : t = make ()
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ type t = {
|
|||
|
||||
val make : ?batch:int -> ?timeout:Mtime.Span.t -> unit -> t
|
||||
(** Create a provider config.
|
||||
@param batch batch size. Default: [Some 200].
|
||||
@param batch batch size. [None] (the default) means no batching.
|
||||
@param timeout flush timeout. Default: [2000ms] *)
|
||||
|
||||
val default : t
|
||||
(** Default provider config: [200] batch size, [2s] timeout. *)
|
||||
(** Default provider config: no batching, [2s] timeout. *)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue