Skip to content

Lower default timeout value in constructor #35

@josecelano

Description

@josecelano

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions