Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to change timeout for all() ? #82

Open
divinity76 opened this issue Nov 24, 2018 · 0 comments
Open

how to change timeout for all() ? #82

divinity76 opened this issue Nov 24, 2018 · 0 comments

Comments

@divinity76
Copy link

i'm on a slow net, and when running $transmission->all(), i get this:

PHP Fatal error:  Uncaught Buzz\Exception\RequestException: Operation timed out after 5000 milliseconds with 476714 out of 2574175 bytes received in /home/hans/phptests/vendor/kriswallsmith/buzz/lib/Buzz/Client/Curl.php:54
Stack trace:
#0 /home/hans/phptests/vendor/kriswallsmith/buzz/lib/Buzz/Client/Curl.php(30): Buzz\Client\Curl->sendRequest(Object(GuzzleHttp\Psr7\Request), Array)
#1 /home/hans/phptests/vendor/kleiram/transmission-php/lib/Transmission/Client.php(107): Buzz\Client\Curl->send(Object(GuzzleHttp\Psr7\Request), Object(Buzz\Message\Response))
#2 /home/hans/phptests/vendor/kleiram/transmission-php/lib/Transmission/Client.php(272): Transmission\Client->call('torrent-get', Array)
#3 /home/hans/phptests/vendor/kleiram/transmission-php/lib/Transmission/Client.php(116): Transmission\Client->validateResponse(Object(Buzz\Message\Response), 'torrent-get', Array)
#4 /home/hans/phptests/vendor/kleiram/transmission-php/lib/Transmission/Transmission.php(56): Transmission\Client->call('torrent-get', Array)
#5 /home/hans/phptests in /home/hans/phptests/vendor/kleiram/transmission-php/lib/Transmission/Client.php on line 109

how can i change the http timeout value for all() ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant