@@ -67,9 +67,9 @@ class DriverConfigurationProfiles:
67
67
plugin_factories = [HostMonitoringPluginFactory ()],
68
68
properties = Properties ({WrapperProperties .CONNECT_TIMEOUT_SEC .name : 10 ,
69
69
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 ,
73
73
WrapperProperties .TCP_KEEPALIVE .name : False ,
74
74
"autocommit" : True })
75
75
),
@@ -78,11 +78,11 @@ class DriverConfigurationProfiles:
78
78
plugin_factories = [HostMonitoringPluginFactory ()],
79
79
properties = Properties ({WrapperProperties .CONNECT_TIMEOUT_SEC .name : 10 ,
80
80
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 ,
86
86
WrapperProperties .TCP_KEEPALIVE .name : False ,
87
87
"autocommit" : True })
88
88
),
@@ -128,11 +128,11 @@ class DriverConfigurationProfiles:
128
128
ReadWriteSplittingPluginFactory (), FailoverPluginFactory (), HostMonitoringPluginFactory ()],
129
129
properties = Properties ({WrapperProperties .CONNECT_TIMEOUT_SEC .name : 10 ,
130
130
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 ,
136
136
WrapperProperties .TCP_KEEPALIVE .name : False ,
137
137
"autocommit" : True }),
138
138
connection_provider = SqlAlchemyPooledConnectionProvider (lambda _ , __ : {"pool_size" : 30 ,
@@ -145,11 +145,11 @@ class DriverConfigurationProfiles:
145
145
ReadWriteSplittingPluginFactory (), FailoverPluginFactory (), HostMonitoringPluginFactory ()],
146
146
properties = Properties ({WrapperProperties .CONNECT_TIMEOUT_SEC .name : 10 ,
147
147
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 ,
153
153
WrapperProperties .TCP_KEEPALIVE .name : False ,
154
154
"autocommit" : True }),
155
155
connection_provider = SqlAlchemyPooledConnectionProvider (lambda _ , __ : {"pool_size" : 30 ,
@@ -188,11 +188,11 @@ class DriverConfigurationProfiles:
188
188
HostMonitoringPluginFactory ()],
189
189
properties = Properties ({WrapperProperties .CONNECT_TIMEOUT_SEC .name : 10 ,
190
190
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 ,
196
196
WrapperProperties .TCP_KEEPALIVE .name : False ,
197
197
"autocommit" : True })
198
198
),
@@ -204,11 +204,11 @@ class DriverConfigurationProfiles:
204
204
HostMonitoringPluginFactory ()],
205
205
properties = Properties ({WrapperProperties .CONNECT_TIMEOUT_SEC .name : 10 ,
206
206
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 ,
212
212
WrapperProperties .TCP_KEEPALIVE .name : False ,
213
213
"autocommit" : True })
214
214
)
0 commit comments