We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9d28473 + 8e1e8b2 commit b8ef8cbCopy full SHA for b8ef8cb
1 file changed
src/Keboola/StorageApi/Client.php
@@ -213,6 +213,13 @@ private function initClient(array $config)
213
'base_uri' => $this->apiUrl,
214
'handler' => $handlerStack,
215
'connect_timeout' => RequestTimeoutMiddleware::REQUEST_TIMEOUT_DEFAULT,
216
+ 'curl' => [
217
+ CURLOPT_LOW_SPEED_LIMIT => 1,
218
+ CURLOPT_LOW_SPEED_TIME => 120,
219
+ CURLOPT_TCP_KEEPALIVE => 1,
220
+ CURLOPT_TCP_KEEPIDLE => 60,
221
+ CURLOPT_TCP_KEEPINTVL => 30,
222
+ ],
223
]);
224
}
225
0 commit comments