You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the `flexy-pool-spring-boot-starter` is added to the classpath your datasource will be wrapped to the `FlexyPoolDataSource`.
220
+
221
+
> [!IMPORTANT]
222
+
> If you are not relying on Spring Boot autoconfiguration and instead declare a custom `DataSource` bean, you need to use
223
+
> a concrete `DataSource` type as the return value (e.g., `@Bean HikariDataSource dataSource()`) to match the FlexyPool adapter.
224
+
220
225
With default setting you will start getting messages about acquiring and leasing connections:
221
226
```text
222
227
2017-07-13 01:31:02.575 INFO 5432 --- [ool-1-worker-50] c.v.flexypool.FlexyPoolDataSource : Connection leased for 1500 millis, while threshold is set to 1000 in dataSource FlexyPoolDataSource
0 commit comments