Is your feature request related to a problem? Please describe.
introduced in #415 was a method to fetch users between a date. while doing #457 we notice there was super slow querying on larger date ranges, and it became apparent that it was because we were doing blocking async calls in a for loop, not taking advantage of concurrency.
Is your feature request related to a problem? Please describe.
introduced in #415 was a method to fetch users between a date. while doing #457 we notice there was super slow querying on larger date ranges, and it became apparent that it was because we were doing blocking async calls in a for loop, not taking advantage of concurrency.
We should replace it with a
Promise.all
Further reading: https://stackoverflow.com/questions/53798589/await-loop-vs-promise-all
BEFORE MERGING
yarn workspace server tsoa spec-and-routes
)git fetch origin master:master
, thengit rebase master
orgit merge master
)