Browse Source

Reduce testing server result channel capacity to 1.

wip
Titouan Rigoudy 4 years ago
parent
commit
a03435f0c0
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      src/proto/server/testing.rs

+ 1
- 3
src/proto/server/testing.rs View File

@ -177,9 +177,7 @@ impl ServerBuilder {
let (shutdown_tx, shutdown_rx) = oneshot::channel(); let (shutdown_tx, shutdown_rx) = oneshot::channel();
let (handler_shutdown_tx, handler_shutdown_rx) = watch::channel(()); let (handler_shutdown_tx, handler_shutdown_rx) = watch::channel(());
// TODO: configurable channel capacity.
let (result_tx, result_rx) = mpsc::channel(100);
let (result_tx, result_rx) = mpsc::channel(1);
Ok(( Ok((
Server { Server {


Loading…
Cancel
Save