This commit is contained in:
Bryan Stitt 2022-11-13 21:25:58 +00:00
parent 96a486866c
commit 0f16fdb97a
3 changed files with 3 additions and 0 deletions

View File

@ -235,6 +235,7 @@ These are roughly in order of completition
- [x] test that runs check_config against example.toml
- [x] improve sorting servers by weight. don't force to lower weights, still have a probability that smaller weights might be
- [x] flamegraphs show 52% of the time to be in tracing. replace with simpler logging
- [x] add optional display name to rpc configs
- [-] add configurable size limits to all the Caches
- instead of configuring each cache with MB sizes, have one value for total memory footprint and then percentages for each cache
- [ ] add block timestamp to the /status page

View File

@ -68,6 +68,7 @@ impl Web3Connections {
// // trace!(%block_hash, %block_num, "saving new block");
// TODO: this block is very likely already in block_hashes
self.block_hashes
.insert(*block_hash, block.to_owned())
.await;

View File

@ -447,6 +447,7 @@ impl Web3Connection {
}
}
// send the block off to be saved
block_sender
.send_async((Some(new_head_block), self.clone()))
.await