File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
- # PgCat Configurations
1
+ # PgCat Configurations
2
2
## ` general ` Section
3
3
4
4
### host
@@ -127,7 +127,7 @@ path: general.tcp_keepalives_idle
127
127
default: 5
128
128
```
129
129
130
- Number of seconds of connection idleness to wait before sending a keepalive packet to the server.
130
+ Number of seconds of connection idleness to wait before sending a keepalive packet to the server and client .
131
131
132
132
### tcp_keepalives_count
133
133
```
Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ mod stats;
79
79
mod tls;
80
80
81
81
use crate :: config:: { get_config, reload_config, VERSION } ;
82
+ use crate :: messages:: configure_socket;
82
83
use crate :: pool:: { ClientServerMap , ConnectionPool } ;
83
84
use crate :: prometheus:: start_metric_server;
84
85
use crate :: stats:: { Collector , Reporter , REPORTER } ;
@@ -289,6 +290,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
289
290
290
291
let tls_certificate = get_config( ) . general. tls_certificate. clone( ) ;
291
292
293
+ configure_socket( & socket) ;
294
+
292
295
tokio:: task:: spawn( async move {
293
296
let start = chrono:: offset:: Utc :: now( ) . naive_utc( ) ;
294
297
You can’t perform that action at this time.
0 commit comments