@@ -67,9 +67,9 @@ class DriverConfigurationProfiles:
6767 plugin_factories = [HostMonitoringPluginFactory ()],
6868 properties = Properties ({WrapperProperties .CONNECT_TIMEOUT_SEC .name : 10 ,
6969 WrapperProperties .SOCKET_TIMEOUT_SEC .name : 0 ,
70- WrapperProperties .FAILURE_DETECTION_COUNT : 5 ,
71- WrapperProperties .FAILURE_DETECTION_TIME_MS : 60000 ,
72- WrapperProperties .FAILURE_DETECTION_INTERVAL_MS : 15000 ,
70+ WrapperProperties .FAILURE_DETECTION_COUNT . name : 5 ,
71+ WrapperProperties .FAILURE_DETECTION_TIME_MS . name : 60000 ,
72+ WrapperProperties .FAILURE_DETECTION_INTERVAL_MS . name : 15000 ,
7373 WrapperProperties .TCP_KEEPALIVE .name : False ,
7474 "autocommit" : True })
7575 ),
@@ -78,11 +78,11 @@ class DriverConfigurationProfiles:
7878 plugin_factories = [HostMonitoringPluginFactory ()],
7979 properties = Properties ({WrapperProperties .CONNECT_TIMEOUT_SEC .name : 10 ,
8080 WrapperProperties .SOCKET_TIMEOUT_SEC .name : 0 ,
81- WrapperProperties .FAILURE_DETECTION_COUNT : 5 ,
82- WrapperProperties .FAILURE_DETECTION_TIME_MS : 30000 ,
83- WrapperProperties .FAILURE_DETECTION_INTERVAL_MS : 5000 ,
84- "monitoring-" + WrapperProperties .CONNECT_TIMEOUT_SEC : 3 ,
85- "monitoring-" + WrapperProperties .SOCKET_TIMEOUT_SEC : 3 ,
81+ WrapperProperties .FAILURE_DETECTION_COUNT . name : 5 ,
82+ WrapperProperties .FAILURE_DETECTION_TIME_MS . name : 30000 ,
83+ WrapperProperties .FAILURE_DETECTION_INTERVAL_MS . name : 5000 ,
84+ "monitoring-" + WrapperProperties .CONNECT_TIMEOUT_SEC . name : 3 ,
85+ "monitoring-" + WrapperProperties .SOCKET_TIMEOUT_SEC . name : 3 ,
8686 WrapperProperties .TCP_KEEPALIVE .name : False ,
8787 "autocommit" : True })
8888 ),
@@ -128,11 +128,11 @@ class DriverConfigurationProfiles:
128128 ReadWriteSplittingPluginFactory (), FailoverPluginFactory (), HostMonitoringPluginFactory ()],
129129 properties = Properties ({WrapperProperties .CONNECT_TIMEOUT_SEC .name : 10 ,
130130 WrapperProperties .SOCKET_TIMEOUT_SEC .name : 0 ,
131- WrapperProperties .FAILURE_DETECTION_COUNT : 5 ,
132- WrapperProperties .FAILURE_DETECTION_TIME_MS : 60000 ,
133- WrapperProperties .FAILURE_DETECTION_INTERVAL_MS : 15000 ,
134- "monitoring-" + WrapperProperties .CONNECT_TIMEOUT_SEC : 10 ,
135- "monitoring-" + WrapperProperties .SOCKET_TIMEOUT_SEC : 5 ,
131+ WrapperProperties .FAILURE_DETECTION_COUNT . name : 5 ,
132+ WrapperProperties .FAILURE_DETECTION_TIME_MS . name : 60000 ,
133+ WrapperProperties .FAILURE_DETECTION_INTERVAL_MS . name : 15000 ,
134+ "monitoring-" + WrapperProperties .CONNECT_TIMEOUT_SEC . name : 10 ,
135+ "monitoring-" + WrapperProperties .SOCKET_TIMEOUT_SEC . name : 5 ,
136136 WrapperProperties .TCP_KEEPALIVE .name : False ,
137137 "autocommit" : True }),
138138 connection_provider = SqlAlchemyPooledConnectionProvider (lambda _ , __ : {"pool_size" : 30 ,
@@ -145,11 +145,11 @@ class DriverConfigurationProfiles:
145145 ReadWriteSplittingPluginFactory (), FailoverPluginFactory (), HostMonitoringPluginFactory ()],
146146 properties = Properties ({WrapperProperties .CONNECT_TIMEOUT_SEC .name : 10 ,
147147 WrapperProperties .SOCKET_TIMEOUT_SEC .name : 0 ,
148- WrapperProperties .FAILURE_DETECTION_COUNT : 5 ,
149- WrapperProperties .FAILURE_DETECTION_TIME_MS : 30000 ,
150- WrapperProperties .FAILURE_DETECTION_INTERVAL_MS : 5000 ,
151- "monitoring-" + WrapperProperties .CONNECT_TIMEOUT_SEC : 3 ,
152- "monitoring-" + WrapperProperties .SOCKET_TIMEOUT_SEC : 3 ,
148+ WrapperProperties .FAILURE_DETECTION_COUNT . name : 5 ,
149+ WrapperProperties .FAILURE_DETECTION_TIME_MS . name : 30000 ,
150+ WrapperProperties .FAILURE_DETECTION_INTERVAL_MS . name : 5000 ,
151+ "monitoring-" + WrapperProperties .CONNECT_TIMEOUT_SEC . name : 3 ,
152+ "monitoring-" + WrapperProperties .SOCKET_TIMEOUT_SEC . name : 3 ,
153153 WrapperProperties .TCP_KEEPALIVE .name : False ,
154154 "autocommit" : True }),
155155 connection_provider = SqlAlchemyPooledConnectionProvider (lambda _ , __ : {"pool_size" : 30 ,
@@ -188,11 +188,11 @@ class DriverConfigurationProfiles:
188188 HostMonitoringPluginFactory ()],
189189 properties = Properties ({WrapperProperties .CONNECT_TIMEOUT_SEC .name : 10 ,
190190 WrapperProperties .SOCKET_TIMEOUT_SEC .name : 0 ,
191- WrapperProperties .FAILURE_DETECTION_COUNT : 5 ,
192- WrapperProperties .FAILURE_DETECTION_TIME_MS : 60000 ,
193- WrapperProperties .FAILURE_DETECTION_INTERVAL_MS : 15000 ,
194- "monitoring-" + WrapperProperties .CONNECT_TIMEOUT_SEC : 10 ,
195- "monitoring-" + WrapperProperties .SOCKET_TIMEOUT_SEC : 3 ,
191+ WrapperProperties .FAILURE_DETECTION_COUNT . name : 5 ,
192+ WrapperProperties .FAILURE_DETECTION_TIME_MS . name : 60000 ,
193+ WrapperProperties .FAILURE_DETECTION_INTERVAL_MS . name : 15000 ,
194+ "monitoring-" + WrapperProperties .CONNECT_TIMEOUT_SEC . name : 10 ,
195+ "monitoring-" + WrapperProperties .SOCKET_TIMEOUT_SEC . name : 3 ,
196196 WrapperProperties .TCP_KEEPALIVE .name : False ,
197197 "autocommit" : True })
198198 ),
@@ -204,11 +204,11 @@ class DriverConfigurationProfiles:
204204 HostMonitoringPluginFactory ()],
205205 properties = Properties ({WrapperProperties .CONNECT_TIMEOUT_SEC .name : 10 ,
206206 WrapperProperties .SOCKET_TIMEOUT_SEC .name : 0 ,
207- WrapperProperties .FAILURE_DETECTION_COUNT : 3 ,
208- WrapperProperties .FAILURE_DETECTION_TIME_MS : 30000 ,
209- WrapperProperties .FAILURE_DETECTION_INTERVAL_MS : 5000 ,
210- "monitoring-" + WrapperProperties .CONNECT_TIMEOUT_SEC : 3 ,
211- "monitoring-" + WrapperProperties .SOCKET_TIMEOUT_SEC : 3 ,
207+ WrapperProperties .FAILURE_DETECTION_COUNT . name : 3 ,
208+ WrapperProperties .FAILURE_DETECTION_TIME_MS . name : 30000 ,
209+ WrapperProperties .FAILURE_DETECTION_INTERVAL_MS . name : 5000 ,
210+ "monitoring-" + WrapperProperties .CONNECT_TIMEOUT_SEC . name : 3 ,
211+ "monitoring-" + WrapperProperties .SOCKET_TIMEOUT_SEC . name : 3 ,
212212 WrapperProperties .TCP_KEEPALIVE .name : False ,
213213 "autocommit" : True })
214214 )
0 commit comments