Skip to content

Commit 58fa778

Browse files
committed
Add dialTimeout to client config
1 parent 151c3bb commit 58fa778

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.vale/Vocab/accept.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ acceptancePolicy
7171
receiveDeadline
7272
receiveTimeout
7373
sendDeadline
74+
dialTimeout
7475
API
7576
DBA
7677
DBRE

using-gatewayd/configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ clients:
8282
receiveDeadline: 0s # duration, 0ms/0s means no deadline
8383
receiveTimeout: 0s # duration, 0ms/0s means no timeout
8484
sendDeadline: 0s # duration, 0ms/0s means no deadline
85+
dialTimeout: 60s # duration, 0ms/0s means no timeout
8586

8687
pools:
8788
default:

using-gatewayd/global-configuration/clients.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ GatewayD supports multiple client configurations. Each client in each configurat
2424
| receiveDeadline | duration (string) | 0s | Valid duration strings | The amount of time the client should wait before giving up on call to receive. `0s` disables receive deadline. This k |
2525
| receiveTimeout | duration (string) | 0s | Valid duration strings | The amount of time the client should wait before giving up on call to receive. `0s` disables receive timeout. |
2626
| sendDeadline | duration (string) | 0s | Valid duration strings | The amount of time the client should wait before giving up on call to send. `0s` disables send deadline. |
27+
| dialTimeout | duration (string) | 60s | Valid duration strings | The amount of time the client should wait before giving up on dialing the database. `0s` disables dial timeout. |
2728

2829
```yaml
2930
clients:
@@ -36,4 +37,5 @@ clients:
3637
receiveDeadline: 0s # duration, 0ms/0s means no deadline
3738
receiveTimeout: 0s # duration, 0ms/0s means no timeout
3839
sendDeadline: 0s # duration, 0ms/0s means no deadline
40+
dialTimeout: 60s # duration, 0ms/0s means no timeout
3941
```

0 commit comments

Comments
 (0)