Skip to content

Commit

Permalink
Bugfix in actor inbox count gauge (#5483)
Browse files Browse the repository at this point in the history
  • Loading branch information
fulmicoton authored Oct 9, 2024
1 parent 914a196 commit ca3f0d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion quickwit/quickwit-actors/src/mailbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,9 @@ fn get_actor_inboxes_count_gauge_guard() -> GaugeGuard<'static> {
&[],
)
});
GaugeGuard::from_gauge(gauge)
let mut gauge_guard = GaugeGuard::from_gauge(gauge);
gauge_guard.add(1);
gauge_guard
}

pub(crate) fn create_mailbox<A: Actor>(
Expand Down

0 comments on commit ca3f0d1

Please sign in to comment.