Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion templates/php/client_config.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ class {{configClassname}} extends {{#hasRegionalHost}}ConfigWithRegion{{/hasRegi
{{#isIngestionClient}}
private $defaultWaitTaskTimeBeforeRetry = 5000; // 5 sec in milliseconds

public function setWaitTaskTimeBeforeRetry($waitTaskTimeBeforeRetry)
{
$this->config['waitTaskTimeBeforeRetry'] = $waitTaskTimeBeforeRetry;

return $this;
}

public function getWaitTaskTimeBeforeRetry()
{
return $this->config['waitTaskTimeBeforeRetry'];
Expand All @@ -53,6 +60,13 @@ class {{configClassname}} extends {{#hasRegionalHost}}ConfigWithRegion{{/hasRegi
return new static($config);
}

public function setWaitTaskTimeBeforeRetry($waitTaskTimeBeforeRetry)
{
$this->config['waitTaskTimeBeforeRetry'] = $waitTaskTimeBeforeRetry;

return $this;
}

public function getWaitTaskTimeBeforeRetry()
{
return $this->config['waitTaskTimeBeforeRetry'];
Expand Down Expand Up @@ -120,4 +134,4 @@ class {{configClassname}} extends {{#hasRegionalHost}}ConfigWithRegion{{/hasRegi
{{/isSearchClient}}
];
}
}
}
Loading