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;
51
51
use super :: locator:: tablets:: { RawTablet , TabletParsingError } ;
52
52
use super :: query_result:: QueryResult ;
53
53
use super :: session:: AddressTranslator ;
54
+ use super :: timestamp_generator:: TimestampGenerator ;
54
55
use super :: topology:: { PeerEndpoint , UntranslatedEndpoint , UntranslatedPeer } ;
55
56
use super :: NodeAddr ;
56
57
#[ cfg( feature = "cloud" ) ]
@@ -565,6 +566,7 @@ pub(crate) struct ConnectionConfig {
565
566
pub ( crate ) compression : Option < Compression > ,
566
567
pub ( crate ) tcp_nodelay : bool ,
567
568
pub ( crate ) tcp_keepalive_interval : Option < Duration > ,
569
+ pub ( crate ) timestamp_generator : Option < Arc < dyn TimestampGenerator > > ,
568
570
#[ cfg( feature = "ssl" ) ]
569
571
pub ( crate ) ssl_config : Option < SslConfig > ,
570
572
pub ( crate ) connect_timeout : std:: time:: Duration ,
@@ -590,6 +592,7 @@ impl Default for ConnectionConfig {
590
592
compression : None ,
591
593
tcp_nodelay : true ,
592
594
tcp_keepalive_interval : None ,
595
+ timestamp_generator : None ,
593
596
event_sender : None ,
594
597
#[ cfg( feature = "ssl" ) ]
595
598
ssl_config : None ,
Original file line number Diff line number Diff line change @@ -1080,6 +1080,7 @@ where
1080
1080
compression : config. compression ,
1081
1081
tcp_nodelay : config. tcp_nodelay ,
1082
1082
tcp_keepalive_interval : config. tcp_keepalive_interval ,
1083
+ timestamp_generator : config. timestamp_generator ,
1083
1084
#[ cfg( feature = "ssl" ) ]
1084
1085
ssl_config : config. ssl_context . map ( SslConfig :: new_with_global_context) ,
1085
1086
authenticator : config. authenticator . clone ( ) ,
You can’t perform that action at this time.
0 commit comments