Skip to content

Commit

Permalink
Merge pull request #92 from meilisearch/increase-timeout
Browse files Browse the repository at this point in the history
Increases timeout to avoid MeiliSearchTimeOutError when using auto-embeddings
  • Loading branch information
tpayet authored Jan 31, 2024
2 parents ee25490 + 673dd5f commit 6140261
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 6140261

Please sign in to comment.