File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ use super::iterator::QueryPager;
5151use super :: locator:: tablets:: { RawTablet , TabletParsingError } ;
5252use super :: query_result:: QueryResult ;
5353use super :: session:: AddressTranslator ;
54+ use super :: timestamp_generator:: TimestampGenerator ;
5455use super :: topology:: { PeerEndpoint , UntranslatedEndpoint , UntranslatedPeer } ;
5556use super :: NodeAddr ;
5657#[ cfg( feature = "cloud" ) ]
@@ -565,6 +566,7 @@ pub(crate) struct ConnectionConfig {
565566 pub ( crate ) compression : Option < Compression > ,
566567 pub ( crate ) tcp_nodelay : bool ,
567568 pub ( crate ) tcp_keepalive_interval : Option < Duration > ,
569+ pub ( crate ) timestamp_generator : Option < Arc < dyn TimestampGenerator > > ,
568570 #[ cfg( feature = "ssl" ) ]
569571 pub ( crate ) ssl_config : Option < SslConfig > ,
570572 pub ( crate ) connect_timeout : std:: time:: Duration ,
@@ -590,6 +592,7 @@ impl Default for ConnectionConfig {
590592 compression : None ,
591593 tcp_nodelay : true ,
592594 tcp_keepalive_interval : None ,
595+ timestamp_generator : None ,
593596 event_sender : None ,
594597 #[ cfg( feature = "ssl" ) ]
595598 ssl_config : None ,
Original file line number Diff line number Diff line change @@ -1080,6 +1080,7 @@ where
10801080 compression : config. compression ,
10811081 tcp_nodelay : config. tcp_nodelay ,
10821082 tcp_keepalive_interval : config. tcp_keepalive_interval ,
1083+ timestamp_generator : config. timestamp_generator ,
10831084 #[ cfg( feature = "ssl" ) ]
10841085 ssl_config : config. ssl_context . map ( SslConfig :: new_with_global_context) ,
10851086 authenticator : config. authenticator . clone ( ) ,
You can’t perform that action at this time.
0 commit comments