Skip to content

Commit

Permalink
change to u64
Browse files Browse the repository at this point in the history
  • Loading branch information
ayirr7 committed Aug 27, 2024
1 parent c97644a commit 7cb6e98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rust-arroyo/src/processing/dlq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ impl<TPayload> BufferedMessages<TPayload> {

gauge!(
"Number of elements that can be held in buffer deque without reallocating",
buffered.capacity()
buffered.capacity() as u64
);
}

Expand All @@ -432,7 +432,7 @@ impl<TPayload> BufferedMessages<TPayload> {
let first = messages.pop_front();
gauge!(
"Number of elements that can be held in buffer deque without reallocating",
messages.capacity()
messages.capacity() as u64
);
return first;
}
Expand All @@ -443,7 +443,7 @@ impl<TPayload> BufferedMessages<TPayload> {
messages.pop_front();
gauge!(
"Number of elements that can be held in buffer deque without reallocating",
messages.capacity()
messages.capacity() as u64
);
}
};
Expand Down

0 comments on commit 7cb6e98

Please sign in to comment.