remove duplicate signal handling (#6702)
This commit is contained in:
parent
fba1af6ea9
commit
d207a34736
|
@ -542,12 +542,6 @@ impl Blocktree {
|
||||||
start.stop();
|
start.stop();
|
||||||
let write_batch_elapsed = start.as_us();
|
let write_batch_elapsed = start.as_us();
|
||||||
|
|
||||||
if should_signal {
|
|
||||||
for signal in &self.new_shreds_signals {
|
|
||||||
let _ = signal.try_send(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
send_signals(
|
send_signals(
|
||||||
&self.new_shreds_signals,
|
&self.new_shreds_signals,
|
||||||
&self.completed_slots_senders,
|
&self.completed_slots_senders,
|
||||||
|
|
Loading…
Reference in New Issue