Skip to content

Commit bbe5990

Browse files
ArthurGambyArthur Gamby
andauthored
fix(docs): update seconds to milliseconds in timeout info (#7442)
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
1 parent e268db6 commit bbe5990

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • content/200-orm/050-overview/500-databases/800-sql-server

content/200-orm/050-overview/500-databases/800-sql-server/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,12 @@ sqlserver://HOST[:PORT];database=DATABASE;user={MyServer/MyUser};password={ThisI
124124
| `encrypt` | No | `true` | Configures whether to use TLS all the time, or only for the login procedure, possible values: `true` (use always), `false` (only for login credentials). |
125125
| `integratedSecurity` | No | | Enables [Windows authentication (integrated security)](https://learn.microsoft.com/en-us/previous-versions/dotnet/framework/data/adonet/sql/authentication-in-sql-server), possible values: `true`, `false`, `yes`, `no`. If set to `true` or `yes` and `username` and `password` are present, login is performed through Windows Active Directory. If login details are not given via separate arguments, the current logged in Windows user is used to login to the server. |
126126
| `connectionLimit` | No | `num_cpus * 2 + 1` | Maximum size of the [connection pool](/orm/prisma-client/setup-and-configuration/databases-connections/connection-pool) (Prisma ORM v6 and before) |
127-
| `connectTimeout` | No | `5` | Maximum number of seconds to wait for a new connection |
127+
| `connectTimeout` | No | `5` | Maximum number of milliseconds to wait for a new connection |
128128
| `schema` | No | `dbo` | Added as a prefix to all the queries if schema name is not the default. |
129-
| <ul><li>`loginTimeout`</li><li>`connectTimeout`</li><li>`connectionTimeout`</li></ul> | No | | Number of seconds to wait for login to succeed. |
130-
| `socketTimeout` | No | | Number of seconds to wait for each query to succeed. |
129+
| <ul><li>`loginTimeout`</li><li>`connectTimeout`</li><li>`connectionTimeout`</li></ul> | No | | Number of milliseconds to wait for login to succeed. |
130+
| `socketTimeout` | No | | Number of milliseconds to wait for each query to succeed. |
131131
| `isolationLevel` | No | | Sets [transaction isolation level](https://learn.microsoft.com/en-us/sql/t-sql/statements/set-transaction-isolation-level-transact-sql?view=sql-server-ver15). |
132-
| `poolTimeout` | No | `10` | Maximum number of seconds to wait for a new connection from the pool. If all connections are in use, the database will return a `PoolTimeout` error after waiting for the given time. |
132+
| `poolTimeout` | No | `10` | Maximum number of milliseconds to wait for a new connection from the pool. If all connections are in use, the database will return a `PoolTimeout` error after waiting for the given time. |
133133
| <ul><li>`ApplicationName`</li><li>`Application Name`</li></ul>(case insensitive) | No | | Sets the application name for the connection. Since version 2.28.0. |
134134
| `trustServerCertificate` | No | `false` | Configures whether to trust the server certificate. |
135135
| `trustServerCertificateCA` | No | | A path to a certificate authority file to be used instead of the system certificates to authorize the server certificate. Must be either in `pem`, `crt` or `der` format. Cannot be used together with `trustServerCertificate` parameter. |

0 commit comments

Comments
 (0)