Skip to content

Block tarantool.Connect() until a connection is established or the timeout expires if Reconnect option set #436

Closed
@ImeevMA

Description

@ImeevMA

Currently tarantool.Connect() returns a connection if successfully connected to a Tarantool instance, or an error if the connection fails. It also ignores the Reconnect option on the first connection. This differs from the behavior of net.box, which blocks and attempts to reconnect if the reconnect_after option is non-nil. It is suggested that tarantool.Connect() block until the context times out or a connection is established.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions