Skip to content

Commit

Permalink
Expand worker pool size
Browse files Browse the repository at this point in the history
Streaming resources requires a third connection to the DB
  • Loading branch information
Mythicaeda committed Jul 23, 2024
1 parent 966e77b commit b1fac9b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static void main(String[] args) throws InterruptedException {
hikariConfig.addDataSourceProperty("applicationName", "Merlin Server");
hikariConfig.setUsername(postgresStore.user());
hikariConfig.setPassword(postgresStore.password());
hikariConfig.setMaximumPoolSize(2);
hikariConfig.setMaximumPoolSize(3);

hikariConfig.setConnectionInitSql("set time zone 'UTC'");

Expand Down

0 comments on commit b1fac9b

Please sign in to comment.