Skip to content

Commit 12f4c40

Browse files
committed
Remove deprecated server parameters
1 parent 64c3d5d commit 12f4c40

File tree

3 files changed

+6
-40
lines changed

3 files changed

+6
-40
lines changed

using-gatewayd/clients.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,3 @@ You have the option to set deadlines on send and receive calls to the database s
4040
## Receive timeout
4141
4242
Since setting receive deadline kills the connection, the `receiveTimeout` property is introduced to stop the receive function from blocking the connection and waiting forever. The current value is zero, which means that it behaves like before, but one can set it to a duration string value.
43-

using-gatewayd/configuration.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -99,17 +99,6 @@ servers:
9999
address: 0.0.0.0:15432
100100
enableTicker: False
101101
tickInterval: 5s # duration
102-
multiCore: True
103-
lockOSThread: False
104-
loadBalancer: roundrobin
105-
readBufferCap: 134217728
106-
writeBufferCap: 134217728
107-
socketRecvBuffer: 134217728
108-
socketSendBuffer: 134217728
109-
reuseAddress: True
110-
reusePort: True
111-
tcpKeepAlive: 3s # duration
112-
tcpNoDelay: True
113102

114103
api:
115104
enabled: True

using-gatewayd/global-configuration/servers.md

Lines changed: 6 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,12 @@ The server object runs to listen for incoming connections from database clients.
1414

1515
## Configuration parameters
1616

17-
| Name | Type | Default value | Possible values | Description |
18-
| ---------------- | ------- | ------------- | -------------------------------------------- | -------------------------------------- |
19-
| network | string | tcp | tcp, unix | The network protocol to use |
20-
| address | string | 0.0.0.0:15432 | Valid host:port | The address to listen on |
21-
| enableTicker | boolean | False | True, False | Whether to enable the ticker or not |
22-
| tickInterval | string | 5s | Valid duration | The interval of the ticker |
23-
| multiCore | boolean | True | True, False | Whether to enable multi-core or not |
24-
| lockOSThread | boolean | False | True, False | Whether to lock the OS thread or not |
25-
| loadBalancer | string | roundrobin | roundrobin, leastconnections, sourceaddrhash | The load balancer to use |
26-
| readBufferCap | number | 134217728 | Positive integers | The read buffer capacity (bytes) |
27-
| writeBufferCap | number | 134217728 | Positive integers | The write buffer capacity (bytes) |
28-
| socketRecvBuffer | number | 134217728 | Positive integers | The socket receive buffer size (bytes) |
29-
| socketSendBuffer | number | 134217728 | Positive integers | The socket send buffer size (bytes) |
30-
| reuseAddress | boolean | True | True, False | Whether to reuse the address or not |
31-
| reusePort | boolean | True | True, False | Whether to reuse the port or not |
32-
| tcpKeepAlive | string | 3s | Valid duration | The TCP keep alive duration |
33-
| tcpNoDelay | boolean | True | True, False | Whether to enable TCP no delay or not |
17+
| Name | Type | Default value | Possible values | Description |
18+
| ------------ | ------- | ------------- | --------------- | ----------------------------------- |
19+
| network | string | tcp | tcp, unix | The network protocol to use |
20+
| address | string | 0.0.0.0:15432 | Valid host:port | The address to listen on |
21+
| enableTicker | boolean | False | True, False | Whether to enable the ticker or not |
22+
| tickInterval | string | 5s | Valid duration | The interval of the ticker |
3423

3524
## Example configuration
3625

@@ -41,15 +30,4 @@ servers:
4130
address: 0.0.0.0:15432
4231
enableTicker: False
4332
tickInterval: 5s # duration
44-
multiCore: True
45-
lockOSThread: False
46-
loadBalancer: roundrobin
47-
readBufferCap: 134217728
48-
writeBufferCap: 134217728
49-
socketRecvBuffer: 134217728
50-
socketSendBuffer: 134217728
51-
reuseAddress: True
52-
reusePort: True
53-
tcpKeepAlive: 3s # duration
54-
tcpNoDelay: True
5533
```

0 commit comments

Comments
 (0)