Skip to content

Commit

Permalink
Update src/groups/mqb/mqbstat/mqbstat_queuestats.h
Browse files Browse the repository at this point in the history
Co-authored-by: Evgeny Malygin <[email protected]>
Signed-off-by: Dmitry Petukhov <[email protected]>
  • Loading branch information
tepamid and 678098 authored Dec 11, 2024
1 parent 510f1e8 commit 52ee21e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/groups/mqb/mqbstat/mqbstat_queuestats.h
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,7 @@ QueueStatsDomain::onEvent<QueueStatsDomain::EventType::Enum::e_REJECT>(
BSLS_ANNOTATION_UNUSED bsls::Types::Int64 value)
{
BSLS_ASSERT_SAFE(d_statContext_mp && "initialize was not called");
// For REJECT, we don't care about the bytes value
d_statContext_mp->adjustValue(DomainQueueStats::e_STAT_REJECT, 1);
}

Expand Down

0 comments on commit 52ee21e

Please sign in to comment.