trufflesuite / ganache

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.

Home Page:https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Perf: race condition for in flight cache

davidmurdoch opened this issue · comments

We check the in flight cache, the memory cache, then check the persistent cache asynchronously, then insert into the in flight cache.

In rare circumstances this might allow multiple requests for the same data to be fired off to the upstream provider, when there should only be one.