Skip to content

[Redis] default timeout setting makes connection impossible #525

Closed
@jeff1985

Description

@jeff1985

With this commit you've added a default value of .0for the timeout. For predis this actually means "zero seconds" which prevents any connections to be established in my case. I always get "Connection timed out" unless I actually set a non-zero timeout in my DSN string.

The default setting in predis is 5.0, so I guess you should set this default setting or leave it at null.

Also see diff here: php-enqueue/redis@64d907a#diff-f12a3e81838b8c1f6057268e5b96bb3fR166

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions