Skip to content

Commit 54f9dd9

Browse files
committed
Merge #18: Clarify consumer log message when chunk reservation expired
Approved-by: rlycx Priority: Normal Auto-deploy: false
2 parents 47904d2 + 7c2ef3d commit 54f9dd9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

opsqueue/src/consumer/client.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,9 @@ impl Client {
282282

283283
},
284284
ServerToClientMessage::Async(msg) => {
285-
// Handle a message from the server that was not associated with an earlier request
286285
match msg {
287-
AsyncServerToClientMessage::ChunkReservationExpired(_chunk_id) => {
288-
tracing::error!("Client could cancel execution of current work, but this is not implemented yet.");
286+
AsyncServerToClientMessage::ChunkReservationExpired(chunk_id) => {
287+
tracing::info!("Server indicated that we took too long with {chunk_id:?}, and now our reservation has expired.");
289288
},
290289
}
291290
}

0 commit comments

Comments
 (0)