Skip to content

Commit c9f63c8

Browse files
committed
Downgrading postgresql and liquibase for performance
1 parent c996384 commit c9f63c8

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

build.gradle

+12-4
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,9 @@ project(':wres-system') {
241241
implementation 'org.apache.commons:commons-lang3:3.17.0'
242242

243243
// to use native postgres copy, need this on compile, otherwise runtime
244-
implementation('org.postgresql:postgresql:42.7.5') {
244+
// Bumping this past this version causes massive slowdowns, see this ticket for more information
245+
// https://github.com/NOAA-OWP/wres/issues/454
246+
implementation('org.postgresql:postgresql:42.7.4') {
245247
// Not used at runtime, bloat
246248
exclude group: 'org.checkerframework', module: 'checker-qual'
247249
}
@@ -362,7 +364,9 @@ project(':wres-io') {
362364
implementation 'com.google.guava:guava:33.4.0-jre'
363365

364366
// to use native postgres copy, need this on compile, otherwise runtime
365-
implementation('org.postgresql:postgresql:42.7.5') {
367+
// Bumping this past this version causes massive slowdowns, see this ticket for more information
368+
// https://github.com/NOAA-OWP/wres/issues/454
369+
implementation('org.postgresql:postgresql:42.7.4') {
366370
// Not used at runtime, bloat
367371
exclude group: 'org.checkerframework', module: 'checker-qual'
368372
}
@@ -389,7 +393,9 @@ project(':wres-io') {
389393
implementation group: 'org.locationtech.jts', name: 'jts-core', version: '1.20.0'
390394
implementation group: 'org.locationtech.jts', name: 'jts-io', version: '1.20.0', ext: 'pom'
391395

392-
implementation 'org.liquibase:liquibase-core:4.31.0'
396+
// Bumping this past this version causes massive slowdowns, see this ticket for more information
397+
// https://github.com/NOAA-OWP/wres/issues/454
398+
implementation 'org.liquibase:liquibase-core:4.29.2'
393399

394400
// Use instead of the bridge between JUL and SLF4J. #60801-283
395401
runtimeOnly 'com.mattbertolini:liquibase-slf4j:5.1.0'
@@ -611,7 +617,9 @@ project(':wres-reading') {
611617

612618
implementation group: 'org.apache.commons', name: 'commons-collections4', version: '4.5.0-M3'
613619

614-
implementation 'org.liquibase:liquibase-core:4.31.0'
620+
// Bumping this past this version causes massive slowdowns, see this ticket for more information
621+
// https://github.com/NOAA-OWP/wres/issues/454
622+
implementation 'org.liquibase:liquibase-core:4.29.2'
615623

616624
// Use instead of the bridge between JUL and SLF4J. #60801-283
617625
runtimeOnly 'com.mattbertolini:liquibase-slf4j:5.1.0'

0 commit comments

Comments
 (0)