Skip to content

Commit

Permalink
HOTFIX: prod 설정값 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
jwnnoh committed Oct 29, 2024
1 parent f03e744 commit 5cb064d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 47 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/prod-CD.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class CallUser {
private final AdminRepository adminRepository;
private final SendBiztalk sendBiztalk;
private final AutoCancelUser autoCancelUser;
private final ScheduledExecutorService executorService = Executors.newScheduledThreadPool(4);
private final ScheduledExecutorService executorService = Executors.newScheduledThreadPool(8);

@Value("${biztalk.templateId.call}")
private String CALL_TEMPLATE_CODE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ public class AsyncConfiguration {
@Bean
public Executor taskExecutor() {
ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
executor.setCorePoolSize(4);
executor.setMaxPoolSize(6);
executor.setQueueCapacity(500);
executor.setCorePoolSize(8);
executor.setMaxPoolSize(16);
executor.setQueueCapacity(1000);
executor.setThreadNamePrefix("Biztalk");
executor.initialize();
return executor;
Expand Down
16 changes: 8 additions & 8 deletions src/main/resources/application-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,26 @@ spring:
username: ENC(Z89GsautuOl2p6BefL146A==)
password: ENC(4IWCgJuGPqbikO4xgN8jZRekUWDhUoyuafdh60pKN5M=)
driver-class-name: com.mysql.cj.jdbc.Driver
maximum-pool-size: 10
connection-timeout: 5000
maximum-pool-size: 33
connection-timeout: 3000
connection-init-sql: SELECT 1
validation-timeout: 2000
minimum-idle: 10
idle-timeout: 600000
max-lifetime: 1800000
idle-timeout: 300000
max-lifetime: 1200000
slave:
hikari:
jdbc-url: ENC(Ux6HWzhKveQtR3WOyTmA/qad//VpWjpNRpFLSdL7Rh1Y7uO7u3jBwLND6IyjI+HTaoLbXqGj/qX7830f1oBRiDndgHIxzOz9ftCwWHc4TioG9MsIEmGrxKGo7ylSyAW3z0VcUGjLQsVAZRyk9s6kKOdQnEZeZfWO+ACPHcPlG/KOfaqWlz3kl/N13hRNKaiIW8I/vo5aV8KDbrNkJhKT8PN5GDu9+TkYKS0iSt9TzrcseBW96MzgYg==)
username: ENC(Z89GsautuOl2p6BefL146A==)
password: ENC(4IWCgJuGPqbikO4xgN8jZRekUWDhUoyuafdh60pKN5M=)
driver-class-name: com.mysql.cj.jdbc.Driver
maximum-pool-size: 10
connection-timeout: 5000
maximum-pool-size: 33
connection-timeout: 3000
connection-init-sql: SELECT 1
validation-timeout: 2000
minimum-idle: 10
idle-timeout: 600000
max-lifetime: 1800000
idle-timeout: 300000
max-lifetime: 1200000

jpa:
show-sql: false
Expand Down

0 comments on commit 5cb064d

Please sign in to comment.