Skip to content

Commit f0141e7

Browse files
address reviewer feeedback
1 parent cae51e3 commit f0141e7

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

reference/api/batches.mdx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,19 @@ The `/batches` route gives information about the progress of batches of [asynchr
6868

6969
Information about the current operations Meilisearch is performing in this batch. A step may consist of multiple substeps.
7070

71-
| Name | Description |
72-
| :---------------| :------------------------------------------------- |
73-
| **`currentStep`** | A string describing the operation |
74-
| **`total`** | The total number of operations in the step |
75-
| **`finished`** | The number of operations Meilisearch has completed |
71+
| Name | Description |
72+
| :-----------------| :------------------------------------------------- |
73+
| **`currentStep`** | A string describing the operation |
74+
| **`total`** | The total number of operations in the step |
75+
| **`finished`** | The number of operations Meilisearch has completed |
76+
77+
<Capsule intent="tip" title="">
78+
If a batch is taking too long, monitor the `steps` array. If the `finished` field of the last item in the `steps` array does not update, Meilisearch may be stuck.
79+
</Capsule>
7680

7781
#### `percentage`
7882

79-
The progress of the current set of operations, calculated from all current steps and substeps.
83+
The percentage of completed operations, calculated from all current steps and substeps. This value is a rough estimate and may not always reflect the current state of the batch due to how different tasks are processed more quickly than others.
8084

8185
### `stats`
8286

0 commit comments

Comments
 (0)