Remove stale TODO comments
This commit is contained in:
parent
0424c3c9d6
commit
95da45f597
|
@ -227,7 +227,6 @@ impl AccountsDbPlugin for Plugin {
|
||||||
slot,
|
slot,
|
||||||
);
|
);
|
||||||
|
|
||||||
// TODO: send the update to all connected streams
|
|
||||||
data.broadcast(UpdateOneof::AccountWrite(AccountWrite {
|
data.broadcast(UpdateOneof::AccountWrite(AccountWrite {
|
||||||
slot,
|
slot,
|
||||||
is_startup,
|
is_startup,
|
||||||
|
|
|
@ -40,7 +40,6 @@ pub mod accountsdb_service {
|
||||||
let mut broadcast_rx = self.sender.subscribe();
|
let mut broadcast_rx = self.sender.subscribe();
|
||||||
tokio::spawn(async move {
|
tokio::spawn(async move {
|
||||||
loop {
|
loop {
|
||||||
// TODO: Deal with lag! maybe just close if RecvError::Lagged happens
|
|
||||||
let msg = broadcast_rx.recv().await.unwrap();
|
let msg = broadcast_rx.recv().await.unwrap();
|
||||||
tx.send(Ok(msg)).await.unwrap();
|
tx.send(Ok(msg)).await.unwrap();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue