Swedbank-SPP / swedbank-payment-portal

Swedbank Payment Portal API library for PHP
Other
36 stars 21 forks source link

Network Client default timeout issue #29

Open Alarich opened 3 years ago

Alarich commented 3 years ago

A week or so ago the SPP API had been inaccessible at times and due to the default configuration of Guzzle, where timeout is 0, it will wait indefinitely for a connection. Our cron scripts were hanging around for days before we realized.

Might it be smart to add a reasonable timeout for the network calls?