mcollina / async-cache-dedupe

Async cache with dedupe support
MIT License
642 stars 40 forks source link

Deduping is not working when stale #164

Open muhammedea opened 3 days ago

muhammedea commented 3 days ago

Hi. Deduplication logic work perfect when cache is empty. But when the item is stale, than if you make 10 request all of them will execute separately and parallel. Is this intentional or am I doing the configuration wrong?

mcollina commented 2 days ago

Oh, you stumbled on a nice bug. Would you like to send a PR?