mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
94b3a5890e
This PR fixes an issue with the ACS ID page retrieval: if there is one of the id page DB fetching is slow, all the rest of the ID fetching lanes getting fetched, due to continuous demand. We implemented a treatment to cap the increased number of ID pages accumulated in memory, by failing the stream. Switching to mapAsync in pullWorkerSource naturally will stop demand, in case a single query takes too long. This also removes the need for the queue size limitting treatment. * Switches to mapAsync in pullWorkerSource * Fixes unit test * Removes queue limiting feature (as it is not necessary anymore) CHANGELOG_BEGIN CHANGELOG_END |
||
---|---|---|
.. | ||
src/test | ||
BUILD.bazel |