Skip to content

timeout option is invalid!!!  #488

@duyanghao

Description

@duyanghao

go version:
go version go1.7.1 linux/amd64
mysql version:
Server version: 5.5.24

As the document described below:
https://github.com/go-sql-driver/mysql#timeout

i set timeout option to 30s, and run a test for 10 concurrent http requests(producing 10 mysql sockets).
but the problem is that the above 10 sockets still exist instead of disappearing after 30s.
In addition,i have done nothing but waiting for several minutes after 10 http requests.

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