Skip to content

Commit

Permalink
Update lib/codecs/src/decoding/framing/chunked_gelf.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jesse Szwedko <jesse@szwedko.me>
  • Loading branch information
jorgehermo9 and jszwedko authored Oct 18, 2024
1 parent b214fdb commit f1e5996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/codecs/src/decoding/framing/chunked_gelf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ impl ChunkedGelfDecoder {
let timeout = self.timeout;
let timeout_handle = tokio::spawn(async move {
tokio::time::sleep(timeout).await;
let mut state_lock = state.lock().unwrap();
let mut state_lock = state.lock().expect("poisoned lock");
if state_lock.remove(&message_id).is_some() {
warn!(
message_id = message_id,
Expand Down

0 comments on commit f1e5996

Please sign in to comment.