Closed ewanbrinkman closed 5 months ago
Multiple copies of a course (usually 2 copies) will be in the result. To make up for the extra duplicate, it looks like some other course doesn't make it into the result.
Setting concurrency to 1 avoids this issue.
concurrency
To fix this issue, could try implementing my own queue system instead of using BluebirdPromise.map.
BluebirdPromise.map
Multiple copies of a course (usually 2 copies) will be in the result. To make up for the extra duplicate, it looks like some other course doesn't make it into the result.
Setting
concurrency
to 1 avoids this issue.