Remove stale TODO comments

This commit is contained in:
Christian Kamm 2021-11-08 11:44:37 +01:00
parent 0424c3c9d6
commit 95da45f597
2 changed files with 0 additions and 2 deletions

View File

@ -227,7 +227,6 @@ impl AccountsDbPlugin for Plugin {
slot,
);
// TODO: send the update to all connected streams
data.broadcast(UpdateOneof::AccountWrite(AccountWrite {
slot,
is_startup,

View File

@ -40,7 +40,6 @@ pub mod accountsdb_service {
let mut broadcast_rx = self.sender.subscribe();
tokio::spawn(async move {
loop {
// TODO: Deal with lag! maybe just close if RecvError::Lagged happens
let msg = broadcast_rx.recv().await.unwrap();
tx.send(Ok(msg)).await.unwrap();
}