Skip to content

Conversation

@mgatny
Copy link
Member

@mgatny mgatny commented Jun 1, 2016

When using a database server that closes inactive connections after some
duration, set SQLConnMaxLifetime to a value less than that duration.
Otherwise, the connection will be reused forever, and this could result in a
dropped connection.

For example, if you are using MySQL configured with wait_timeout = 28800, use
something like SQLConnMaxLifetime=14400s.

Refs #139

When using a database server that closes inactive connections after some
duration, set `SQLConnMaxLifetime` to a value less than that duration.
Otherwise, the connection will be reused forever, and this could result in a
dropped connection.

For example, if you are using MySQL configured with `wait_timeout = 28800`, use
something like `SQLConnMaxLifetime=14400s`.

Refs quickfixgo#139
@cbusbey
Copy link
Contributor

cbusbey commented Jun 1, 2016

🎷 🏇

@cbusbey cbusbey merged commit 950c25f into quickfixgo:master Jun 1, 2016
@cbusbey cbusbey added this to the v0.3.0 milestone Jun 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants