mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-10 04:35:46 -04:00
detail
This commit is contained in:
parent
d689dfc8fb
commit
331ae94547
1 changed files with 1 additions and 0 deletions
|
|
@ -161,6 +161,7 @@ end = struct
|
||||||
}
|
}
|
||||||
|
|
||||||
let make ?batch ?timeout () : _ t =
|
let make ?batch ?timeout () : _ t =
|
||||||
|
Option.iter (fun b -> assert (b > 0)) batch;
|
||||||
{
|
{
|
||||||
lock = Mutex.create ();
|
lock = Mutex.create ();
|
||||||
size = 0;
|
size = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue