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

Lower default timeout value in constructor #35

Open
josecelano opened this issue Feb 25, 2015 · 0 comments
Open

Lower default timeout value in constructor #35

josecelano opened this issue Feb 25, 2015 · 0 comments

Comments

@josecelano
Copy link

Change $connect_timeout_seconds and $attempts default values to 10 and 1.

public function __construct ($brokerUri, $opts = array(), $connect_timeout_seconds = 60, $attempts = 10)

In case you have php.ini setting max_execution_time lower than 60 script execution will stop without any usefull info. :-). I think it is better to let the user increase that value.

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