That is the same PR #156 that @Hadrien-Cornier started but it seems to be outdated from repository latest updates.
After using his PR I was able to resolve issues that I was having on latest Mongodb version which were address on the following issues: #223 and #187.
Just paying attention to use --write-timeout to avoid errors like insertMany: context deadline exceeded if the amount of generated data is too big. link
That is the same PR #156 that @Hadrien-Cornier started but it seems to be outdated from repository latest updates.
After using his PR I was able to resolve issues that I was having on latest Mongodb version which were address on the following issues: #223 and #187.
Just paying attention to use
--write-timeout
to avoid errors likeinsertMany: context deadline exceeded
if the amount of generated data is too big. link