onpage-dev / onpage-php

4 stars 5 forks source link

Custom timeout for Guzzle Client #1

Closed SirFaenor closed 2 years ago

SirFaenor commented 2 years ago

It may be useful to set a custom timeout for the Guzzle Client instance used by Api. In our use case, when using Api inside a Laravel job, we need the http timeout to be lower than the worker timeout. See https://github.com/laravel/framework/issues/22301