Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions content/api/1-pool.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ config = {
// all valid client config options are also valid here
// in addition here are the pool specific configuration parameters:

// number of milliseconds to wait before timing out when connecting a new client
// by default this is 0 which means no timeout
connectionTimeoutMillis?: int,

// number of milliseconds a client must sit idle in the pool and not be checked out
// before it is disconnected from the backend and discarded
// default is 10000 (10 seconds) - set to 0 to disable auto-disconnection of idle clients
Expand Down
1 change: 1 addition & 0 deletions content/api/2-client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ config = {
types?: any, // custom type parsers
statement_timeout?: number, // number of milliseconds before a statement in query will time out, default is no timeout
query_timeout?: number, // number of milliseconds before a query call will timeout, default is no timeout
connectionTimeoutMillis?: number, // number of milliseconds before timing out when connecting, default is no timeout
}
```

Expand Down