Closed scottnimos closed 2 months ago
Hi @scottnimos this is the only way to configure this currently. Please let us know if this works for you.
use ChargeBee\ChargeBee\Environment;
Environment::updateConnectTimeoutInSecs(0.25);
Environment::updateRequestTimeoutInSecs(0.25);
Thank you. This helps a lot. Appreciate taking your time to respond
What problem does your feature request address?
For a production environment. The lib/ChargeBee/Environment.php with these defaults:
This is a bit too generous and can block php-fpm workers from serving other requests.
Describe the desired solution
Be able to pass in object or an array as a second optional parameter. Perhaps it makes most sense here to pass in second optional argument
ChargeBee_Environment::configure
Alternatives considered
No response
Additional context
No response