Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Commit

Permalink
Delete more commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
gstoehld authored Dec 16, 2022
1 parent 12d8df8 commit c1d8406
Showing 1 changed file with 0 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,6 @@

@Configuration
public abstract class WsCloudBaseConfig extends WsBaseConfig {

@Value("${datasource.maximumPoolSize:5}")
int dataSourceMaximumPoolSize;

@Value("${datasource.connectionTimeout:30000}")
int dataSourceConnectionTimeout;

@Value("${datasource.leakDetectionThreshold:0}")
int dataSourceLeakDetectionThreshold;

/*@Bean
@Override
public DataSource dataSource() {
/* PoolConfig poolConfig =
new PoolConfig(dataSourceMaximumPoolSize, dataSourceConnectionTimeout);
DataSourceConfig dbConfig =
new DataSourceConfig(
poolConfig,
null,
null,
Map.of("leakDetectionThreshold", dataSourceLeakDetectionThreshold));
CloudFactory factory = new CloudFactory();
return factory.getCloud().getSingletonServiceConnector(DataSource.class, dbConfig);
}*/

@Bean
@Override
public Flyway flyway(DataSource dataSource) {
Expand Down

0 comments on commit c1d8406

Please sign in to comment.