eosdac / eosdac-client-legacy

This is the frontend to interact with the DAC smart contracts.
MIT License
14 stars 19 forks source link

Fix profile cache, account for inflight responses and use Promise.all… #124

Open michaeljyeates opened 4 years ago

michaeljyeates commented 4 years ago

…() to emulate previous responses to getProfiles

The member client profile cache didnt account for inflight requests so when many requests were made before the first request returned, they would send additional requests

This patch handles inflight requests so only a single request is made