phpinnacle/ridge

Default timeout bug

michalzielanski opened this issue · 1 comments

In the configuration, the default timeout is written as milliseconds:

ridge/src/Config.php

Lines 25 to 26 in adcced8

private const OPTIONS = [
'timeout' => 1000,

and in the client it is additionally multiplied by 1000:
$timeout = $this->config->timeout() * 1000;

Timeout in configuration should be in seconds or milliseconds?

It was fixed a long time ago