Skip to content

Commit 84dadae

Browse files
committed
Change timeout and interval value
1 parent 658bf5a commit 84dadae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function getAllUpdateStatus()
8888
return $this->httpGet('/indexes/'.$this->uid.'/updates');
8989
}
9090

91-
public function waitForPendingUpdate($update_id, $timeout_in_ms = 2000, $interval_in_ms = 10)
91+
public function waitForPendingUpdate($update_id, $timeout_in_ms = 5000, $interval_in_ms = 50)
9292
{
9393
$timeout_temp = 0;
9494
while ($timeout_in_ms > $timeout_temp) {

0 commit comments

Comments
 (0)