Skip to content

Commit

Permalink
Increase timeout in __batchSendSync() waitForTask
Browse files Browse the repository at this point in the history
  • Loading branch information
CaroFG committed Jan 22, 2024
1 parent 222f210 commit 673dd5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class Sender {
const task = await this.client
.index(this.index_uid)
.addDocuments(this.queue)
await this.client.waitForTask(task.taskUid)
await this.client.waitForTask(task.taskUid, { timeOutMs: 15000 })
}

async __swapIndex() {
Expand Down

0 comments on commit 673dd5f

Please sign in to comment.