Skip to content

Commit b3f21a0

Browse files
Update client-timeouts.md
1 parent 3fc9d6d commit b3f21a0

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

content/en/altinity-kb-setup-and-maintenance/client-timeouts.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,17 @@ Timeout settings are related to the client, server, and network. They can be tun
1010

1111
It's important to understand that network devices (routers, NATs, load balancers ) could have their own timeouts. Sometimes, they won't respect TCP keep-alive and close the session due to inactivity. Only application-level keepalives could prevent TCP sessions from closing.
1212

13-
Below are the settings that will work only if you set them in the default user profile. The problem is that they should be applied before the connection happens. And if you send them with a query/connection, it's already too late.
14-
13+
Below are the settings that will work only if you set them in the default user profile. The problem is that they should be applied before the connection happens. And if you send them with a query/connection, it's already too late:
1514
```sql
16-
17-
"receive_timeout": 3600,
18-
"send_timeout": 3600,
19-
"http_receive_timeout": 3600,
20-
"http_send_timeout": 3600,
21-
"http_connection_timeout": 2,
15+
SETTINGS
16+
receive_timeout = 3600,
17+
send_timeout = 3600,
18+
http_receive_timeout = 3600,
19+
http_send_timeout = 3600,
20+
http_connection_timeout = 2
2221
```
2322

24-
Those can be set on the query level (but in the profile, too)
25-
23+
Those can be set on the query level (but in the profile, too):
2624
```sql
2725
SETTINGS
2826
tcp_keep_alive_timeout = 3600,

0 commit comments

Comments
 (0)