mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
Fix PR comments
This commit is contained in:
parent
59636fa688
commit
cbaca2b579
4 changed files with 5 additions and 5 deletions
|
@ -99,7 +99,7 @@ impl Index<'_> {
|
|||
pub async fn wait_update_id(&self, update_id: u64) -> Value {
|
||||
// try 10 times to get status, or panic to not wait forever
|
||||
let url = format!("/indexes/{}/updates/{}", self.uid, update_id);
|
||||
for _ in 0..20 {
|
||||
for _ in 0..10 {
|
||||
let (response, status_code) = self.service.get(&url).await;
|
||||
assert_eq!(status_code, 200, "response: {}", response);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue