Skip to content

Commit

Permalink
[BugFix] [Git]Fix the issue of unlimited refresh of Git project pages (
Browse files Browse the repository at this point in the history
…#3791)

Signed-off-by: Zzm0809 <[email protected]>
  • Loading branch information
Zzm0809 authored Sep 9, 2024
1 parent e1d344f commit cbf1a3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ public class DatabaseFlywayMigration {
private final FlywayProperties flywayProperties;
private final DataSourceProperties dataSourceProperties;

/**
* The reason why hikariDataSource is used here is because Dinky uses a Druid connection pool, which can cause some flyway SQL to be intercepted during execution, resulting in automatic upgrade failure
* @return dataSource
*/
private DataSource dataSource() {
HikariDataSource hikariDataSource = new HikariDataSource();
hikariDataSource.setJdbcUrl(dataSourceProperties.getUrl());
Expand Down
2 changes: 1 addition & 1 deletion dinky-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@ant-design/icons": "^5.3.7",
"@ant-design/pro-components": "^2.7.10",
"@ant-design/pro-layout": "^7.19.8",
"@ant-design/pro-table": "^3.16.1",
"@ant-design/pro-table": "^3.16.6",
"@ant-design/use-emotion-css": "^1.0.4",
"@antv/g2": "^5.2.0",
"@antv/layout": "0.3.25",
Expand Down

0 comments on commit cbf1a3b

Please sign in to comment.