Add cache for parallel HTTP requests (#4879)

This commit is contained in:
Michael Sproul
2024-01-11 17:13:43 +11:00
committed by GitHub
parent 8db17dac1d
commit 664a7784f8
21 changed files with 466 additions and 260 deletions

View File

@@ -926,7 +926,7 @@ pub fn serve<T: BeaconChainTypes>(
.shuffling_cache
.try_write_for(std::time::Duration::from_secs(1))
{
cache_write.insert_committee_cache(
cache_write.insert_value(
shuffling_id,
&possibly_built_cache,
);