Skip to content

Commit 6d2c33c

Browse files
committed
Address review comments
1 parent 53a1196 commit 6d2c33c

6 files changed

Lines changed: 25 additions & 5 deletions

File tree

‎.idea/.gitignore‎

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.idea/modules.xml‎

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.idea/sql-docs.iml‎

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/connect/jdbc/improving-performance-and-reliability-with-the-jdbc-driver.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The articles in this section describe various techniques for improving applicati
2121

2222
|Article|Description|
2323
|-----------|-----------------|
24-
|[Understanding timeout properties](understanding-timeouts.md)| Describes the timeouts used by the JDBC driver.|
24+
|[Understanding timeout properties](understand-timeouts.md)| Describes the timeouts used by the JDBC driver.|
2525
|[Closing objects when not in use](closing-objects-when-not-in-use.md)|Describes the importance of closing JDBC driver objects when they're no longer needed.|
2626
|[Managing transaction size](managing-transaction-size.md)|Describes techniques for improving transaction performance.|
2727
|[Working with statements and result sets](working-with-statements-and-result-sets.md)|Describes techniques for improving performance when using the Statement or ResultSet objects.|

docs/connect/jdbc/understanding-timeouts.md renamed to docs/connect/jdbc/understand-timeouts.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Understanding timeouts
33
description: Learn about the timeouts used by JDBC. LoginTimeout, queryTimeout, cancelQueryTimeout, and socketTimeout can be used to ensure application responsiveness.
44
author: David-Engel
55
ms.author: v-davidengel
6-
ms.date: 05/19/2023
6+
ms.date: 06/05/2023
77
ms.service: sql
88
ms.subservice: connectivity
99
ms.topic: conceptual
@@ -30,9 +30,9 @@ Reasonable timeout values for your application depend on the application's prior
3030

3131
For a responsive application, `loginTimeout` and `queryTimeout` should be set to relatively low values. Similarly, `cancelQueryTimeout` should also be set to a low value to ensure the driver doesn't wait too long for the server to acknowledge the query cancellation, when a `queryTimeout` is exceeded. Finally, `socketTimeout` should be set to guard against the driver waiting too long during any scenario where connectivity to the server is broken (network interruption, server crash, etc.).
3232

33-
This same information can be found summarized in the following table:
33+
## Property summary
3434

35-
| Property | Description | Default | Connection Result |
35+
| Property | Description | Default | Connection result |
3636
|----------------------|---------------------------------------------------------------------------------------|-----------------------------------------------| ------------------ |
3737
| `loginTimeout` | The number of seconds the driver should wait before timing out a failed connection. | 30 seconds [11.2+], <br/>otherwise 15 seconds | Closed connection |
3838
| `queryTimeout` | The number of seconds to wait before canceling a query. | -1 [Infinite timeout] | Open connection |

‎docs/connect/toc.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2699,7 +2699,7 @@
26992699
href: ../connect/jdbc/improving-performance-and-reliability-with-the-jdbc-driver.md
27002700
items:
27012701
- name: Understanding timeout properties
2702-
href: ../connect/jdbc/understanding-timeouts.md
2702+
href: ../connect/jdbc/understand-timeouts.md
27032703
- name: Closing objects when not in use
27042704
href: ../connect/jdbc/closing-objects-when-not-in-use.md
27052705
- name: Managing transaction size

0 commit comments

Comments
 (0)