mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 12:23:32 -04:00
fix
This commit is contained in:
parent
3448e33d29
commit
20cc772682
1 changed files with 2 additions and 2 deletions
|
|
@ -402,8 +402,8 @@ let mk_emitter ~(config:Config.t) () : (module EMITTER) =
|
|||
let do_something = not (l_is_empty !batch) in
|
||||
if do_something then (
|
||||
send_metrics_http !batch;
|
||||
Atomic.set last_wakeup (Mtime_clock.now());
|
||||
);
|
||||
Atomic.set last_wakeup (Mtime_clock.now());
|
||||
do_something
|
||||
) else false
|
||||
in
|
||||
|
|
@ -414,8 +414,8 @@ let mk_emitter ~(config:Config.t) () : (module EMITTER) =
|
|||
let do_something = not (l_is_empty !batch) in
|
||||
if do_something then (
|
||||
send_traces_http !batch;
|
||||
Atomic.set last_wakeup (Mtime_clock.now());
|
||||
);
|
||||
Atomic.set last_wakeup (Mtime_clock.now());
|
||||
do_something
|
||||
) else false
|
||||
in
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue