remove duplicate signal handling (#6702)

This commit is contained in:
Parth
2019-11-05 11:36:51 +05:30
committed by GitHub
parent fba1af6ea9
commit d207a34736

View File

@ -542,12 +542,6 @@ impl Blocktree {
start.stop();
let write_batch_elapsed = start.as_us();
if should_signal {
for signal in &self.new_shreds_signals {
let _ = signal.try_send(true);
}
}
send_signals(
&self.new_shreds_signals,
&self.completed_slots_senders,