Patrick Brown
07/19/2022, 3:05 AMKishore Nallan
07/19/2022, 3:14 AMclient
object being shared across different parts of the code at the same time. Can you try instantiating separate client objects?Patrick Brown
07/19/2022, 3:16 AMKishore Nallan
07/19/2022, 3:22 AMPatrick Brown
07/19/2022, 3:38 AMKishore Nallan
07/19/2022, 3:46 AMPatrick Brown
07/19/2022, 3:50 AMKishore Nallan
07/19/2022, 3:51 AMPatrick Brown
07/19/2022, 4:05 AMKishore Nallan
07/19/2022, 4:06 AMPatrick Brown
07/19/2022, 4:16 AM/*if (threads.length > 0) {
await collection.documents().import(searchThreads, { action: "upsert" })
}*/
await Promise.all(searchThreads.map(c => collection.documents().upsert(c)))
I'll do a little more testing tomorrow and see if I can see what actually make a differencePatrick Brown
07/19/2022, 4:21 AMKishore Nallan
07/19/2022, 4:41 AMPatrick Brown
07/19/2022, 4:54 AMKishore Nallan
07/19/2022, 11:19 AM0.24.0.rc20
build. Could you please test against that to see if it helps? I've published to Docker.Patrick Brown
07/19/2022, 4:35 PMPatrick Brown
07/19/2022, 4:35 PMPatrick Brown
07/19/2022, 4:36 PMKishore Nallan
07/20/2022, 6:26 AM