Skip to content

Handle connect_timeout #23

@kerma

Description

@kerma

Leaving it here, cause it took me a while to understand why my connections aren't dropping faster if I use low connect_timeout. From https://github.com/PyMySQL/Tornado-MySQL/blob/master/tornado_mysql/connections.py#L792

stream = iostream.IOStream(sock)
# TODO: handle connect_timeout
yield stream.connect(addr)

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