Skip to content

Commit 3435985

Browse files
algolia-botlouisfischFluf22
committed
feat(php): add setWaitTaskTimeBeforeRetry method for Search and Ingestion clients (generated)
algolia/api-clients-automation#5514 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Louis Fischer <louisfisch@users.noreply.github.com> Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
1 parent cd9e447 commit 3435985

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

lib/Configuration/IngestionConfig.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ public static function create($appId, $apiKey, $region = null)
2929
return parent::create($appId, $apiKey, $region);
3030
}
3131

32+
public function setWaitTaskTimeBeforeRetry($waitTaskTimeBeforeRetry)
33+
{
34+
$this->config['waitTaskTimeBeforeRetry'] = $waitTaskTimeBeforeRetry;
35+
36+
return $this;
37+
}
38+
3239
public function getWaitTaskTimeBeforeRetry()
3340
{
3441
return $this->config['waitTaskTimeBeforeRetry'];

lib/Configuration/SearchConfig.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ public static function create($appId, $apiKey)
2121
return new static($config);
2222
}
2323

24+
public function setWaitTaskTimeBeforeRetry($waitTaskTimeBeforeRetry)
25+
{
26+
$this->config['waitTaskTimeBeforeRetry'] = $waitTaskTimeBeforeRetry;
27+
28+
return $this;
29+
}
30+
2431
public function getWaitTaskTimeBeforeRetry()
2532
{
2633
return $this->config['waitTaskTimeBeforeRetry'];

0 commit comments

Comments
 (0)