Skip to content

Commit

Permalink
Pool size
Browse files Browse the repository at this point in the history
  • Loading branch information
benmoriceau committed Dec 1, 2022
1 parent d3aecda commit 8f03443
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import io.airbyte.analytics.Deployment;
import io.airbyte.analytics.TrackingClient;
import io.airbyte.analytics.TrackingClientSingleton;
import io.airbyte.commons.features.EnvVariableFeatureFlags;
import io.airbyte.commons.temporal.ConnectionManagerUtils;
import io.airbyte.commons.temporal.StreamResetRecordsHelper;
import io.airbyte.commons.temporal.TemporalClient;
Expand Down Expand Up @@ -287,6 +288,8 @@ public ServerRunnable serverRunnable(

final OperationsHandler operationsHandler = new OperationsHandler(configRepository);

final EnvVariableFeatureFlags featureFlags = new EnvVariableFeatureFlags();

final SchedulerHandler schedulerHandler = new SchedulerHandler(
configRepository,
secretsRepositoryReader,
Expand All @@ -296,7 +299,8 @@ public ServerRunnable serverRunnable(
configs.getWorkerEnvironment(),
configs.getLogConfigs(),
eventRunner,
connectionsHandler);
connectionsHandler,
featureFlags);

final DbMigrationHandler dbMigrationHandler = new DbMigrationHandler(configsDatabase, configsFlyway, jobsDatabase, jobsFlyway);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ datasources:
connection-test-query: SELECT 1
connection-timeout: 30000
idle-timeout: 600000
maximum-pool-size: 5
maximum-pool-size: 10
minimum-idle: 0
url: ${DATABASE_URL}
driverClassName: org.postgresql.Driver
Expand All @@ -13,7 +13,7 @@ datasources:
connection-test-query: SELECT 1
connection-timeout: 30000
idle-timeout: 600000
maximum-pool-size: 5
maximum-pool-size: 10
minimum-idle: 0
url: ${DATABASE_URL}
driverClassName: org.postgresql.Driver
Expand Down

0 comments on commit 8f03443

Please sign in to comment.