Skip to content

Commit

Permalink
feat: add useGapicBackoffs => true to default config
Browse files Browse the repository at this point in the history
  • Loading branch information
taka-oyama committed Jun 2, 2020
1 parent 0e7bf64 commit 4842438
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Colopl/Spanner/SpannerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ protected function createSpannerConnection(array $config)
*/
protected function parseConfig(array $config, $name)
{
return Arr::add(Arr::add($config, 'prefix', ''), 'name', $name);
return $config + [
'prefix' => '',
'name' => $name,
'useGapicBackoffs' => true,
];
}

/**
Expand Down

0 comments on commit 4842438

Please sign in to comment.