Skip to content

Commit 409d907

Browse files
committed
docs: use non-unit default value for timeouts
closes #883
1 parent 2b18030 commit 409d907

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ When establishing a connection, you can set the following options:
152152
then the default collation for that charset is used. (Default: `'UTF8_GENERAL_CI'`)
153153
* `timezone`: The timezone used to store local dates. (Default: `'local'`)
154154
* `connectTimeout`: The milliseconds before a timeout occurs during the initial connection
155-
to the MySQL server. (Default: 10 seconds)
155+
to the MySQL server. (Default: `10000`)
156156
* `stringifyObjects`: Stringify objects instead of converting to values. See
157157
issue [#501](https://github.com/felixge/node-mysql/issues/501). (Default: `'false'`)
158158
* `insecureAuth`: Allow connecting to MySQL instances that ask for the old
@@ -328,7 +328,7 @@ addition to those options pools accept a few extras:
328328

329329
* `acquireTimeout`: The milliseconds before a timeout occurs during the connection
330330
acquisition. This is slightly different from `connectTimeout`, because acquiring
331-
a pool connection does not always involve making a connection. (Default: 10 seconds)
331+
a pool connection does not always involve making a connection. (Default: `10000`)
332332
* `waitForConnections`: Determines the pool's action when no connections are
333333
available and the limit has been reached. If `true`, the pool will queue the
334334
connection request and call it when one becomes available. If `false`, the

0 commit comments

Comments
 (0)