Open hortelanobruno-ol opened 1 month ago
This is most likely because the code snippet you have makes 1K concurrent connections and Typesense is aborting those requests due to lack of CPU capacity.
Could you try using for-await...of
when using promises inside of for loops?
Description
Calling the import function with an array greater than 250 elements sometimes fails.
Steps to reproduce
Initialize a collection with more than 250 elements and import that collection repeatedly.
Expected Behavior
It doesn't fail.
Actual Behavior
It fails with this error:
Metadata
Typesense Version: 0.25.2
OS: Linux