verze-app / solana-php-sdk

Simple PHP SDK for Solana JSON RPC endpoints
MIT License
88 stars 45 forks source link

Support to set timeout #33

Open miguilimzero opened 2 years ago

miguilimzero commented 2 years ago

The library currently do not support to set timeout parameter.

neverything commented 2 years ago

@srdante could you explain where you would need a timeout and what for?

miguilimzero commented 2 years ago

@neverything Timeout for requests to the node. Guzzle has a default value of 30 seconds. It would be good to customize the default value on constructor.

neverything commented 2 years ago

@srdante ahh got it, feel free to create a pull request for this.