Skip to content

Commit 96ec0f9

Browse files
committed
Refine message bus command processing
1 parent 85f1e97 commit 96ec0f9

File tree

1 file changed

+0
-2
lines changed
  • nautilus_core/infrastructure/src/redis

1 file changed

+0
-2
lines changed

nautilus_core/infrastructure/src/redis/cache.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,6 @@ async fn process_commands(
271271
match rx.recv().await {
272272
Some(msg) => {
273273
if let DatabaseOperation::Close = msg.op_type {
274-
// Close receiver end of the channel
275-
drop(rx);
276274
break;
277275
}
278276
buffer.push_back(msg)

0 commit comments

Comments
 (0)