Skip to content

Commit

Permalink
increasing slick queue sizes to avoid RejectedExecutionExceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
tptignor committed Jul 12, 2024
1 parent eeaef44 commit bd67378
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion common/src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ db {
url = "jdbc:postgresql://"${dbconfig.host}":"${dbconfig.port}"/"${dbconfig.database}"?user="${dbconfig.user}"&password="${dbconfig.password}"&sslmode="${dbconfig.ssl}"&"${dbconfig.additionalConfig}
url = ${?JDBC_URL}
numThreads = 4
queueSize = 10
queueSize = 100
connectionTimeout = 20000
validationTimeout = 10000
}
Expand Down
2 changes: 1 addition & 1 deletion data-browser/src/test/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ embedded-pg {
profile = slick.jdbc.PostgresProfile
url = "jdbc:postgresql://localhost:5432/postgres?user=postgres&password=postgres"
numThreads = 2
queueSize = 10
queueSize = 100
connectionTimeout = 20000
validationTimeout = 10000
}
Expand Down
2 changes: 1 addition & 1 deletion hmda-analytics/src/test/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ embedded-pg {
profile = slick.jdbc.PostgresProfile
url = "jdbc:postgresql://localhost:5432/postgres?user=postgres&password=postgres"
numThreads = 2
queueSize = 10
queueSize = 100
connectionTimeout = 20000
validationTimeout = 10000
}
Expand Down
2 changes: 1 addition & 1 deletion hmda-dashboard/src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dashboard_db {
url = "jdbc:postgresql://"${dbconfig.host}":"${dbconfig.port}"/"${dbconfig.database}"?user="${dbconfig.user}"&password="${dbconfig.password}"&sslmode="${dbconfig.ssl}"&"${dbconfig.additionalConfig}
url = ${?JDBC_URL}
numThreads = 10
queueSize = 10
queueSize = 100
connectionTimeout = 2000000
validationTimeout = 1000000
}
Expand Down
2 changes: 1 addition & 1 deletion hmda-data-publisher/src/test/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ embedded-pg {
profile = slick.jdbc.PostgresProfile
url = "jdbc:postgresql://localhost:5432/postgres?user=postgres&password=postgres"
numThreads = 2
queueSize = 10
queueSize = 100
connectionTimeout = 20000
validationTimeout = 10000
}
Expand Down
2 changes: 1 addition & 1 deletion hmda-reporting/src/test/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ embedded-pg {
profile = slick.jdbc.PostgresProfile
url = "jdbc:postgresql://localhost:5432/postgres?user=postgres&password=postgres"
numThreads = 2
queueSize = 10
queueSize = 100
connectionTimeout = 20000
validationTimeout = 10000
}
Expand Down
2 changes: 1 addition & 1 deletion modified-lar/src/test/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ embedded-pg {
profile = slick.jdbc.PostgresProfile
url = "jdbc:postgresql://localhost:5432/postgres?user=postgres&password=postgres"
numThreads = 2
queueSize = 10
queueSize = 100
connectionTimeout = 20000
validationTimeout = 10000
}
Expand Down
2 changes: 1 addition & 1 deletion submission-errors/src/test/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ embedded-pg {
profile = hmda.submissionerrors.repositories.PostgresEnhancedProfile
url = "jdbc:postgresql://localhost:5432/postgres?user=postgres&password=postgres"
numThreads = 2
queueSize = 10
queueSize = 100
connectionTimeout = 20000
validationTimeout = 10000
}
Expand Down

0 comments on commit bd67378

Please sign in to comment.