Skip to content

Commit 5cb064d

Browse files
committed
HOTFIX: prod 설정값 적용
1 parent f03e744 commit 5cb064d

File tree

4 files changed

+12
-47
lines changed

4 files changed

+12
-47
lines changed

.github/workflows/prod-CD.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/main/java/site/gachontable/gachontablebe/domain/admin/usecase/CallUser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class CallUser {
3131
private final AdminRepository adminRepository;
3232
private final SendBiztalk sendBiztalk;
3333
private final AutoCancelUser autoCancelUser;
34-
private final ScheduledExecutorService executorService = Executors.newScheduledThreadPool(4);
34+
private final ScheduledExecutorService executorService = Executors.newScheduledThreadPool(8);
3535

3636
@Value("${biztalk.templateId.call}")
3737
private String CALL_TEMPLATE_CODE;

src/main/java/site/gachontable/gachontablebe/global/config/async/AsyncConfiguration.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ public class AsyncConfiguration {
1414
@Bean
1515
public Executor taskExecutor() {
1616
ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
17-
executor.setCorePoolSize(4);
18-
executor.setMaxPoolSize(6);
19-
executor.setQueueCapacity(500);
17+
executor.setCorePoolSize(8);
18+
executor.setMaxPoolSize(16);
19+
executor.setQueueCapacity(1000);
2020
executor.setThreadNamePrefix("Biztalk");
2121
executor.initialize();
2222
return executor;

src/main/resources/application-prod.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,26 @@ spring:
66
username: ENC(Z89GsautuOl2p6BefL146A==)
77
password: ENC(4IWCgJuGPqbikO4xgN8jZRekUWDhUoyuafdh60pKN5M=)
88
driver-class-name: com.mysql.cj.jdbc.Driver
9-
maximum-pool-size: 10
10-
connection-timeout: 5000
9+
maximum-pool-size: 33
10+
connection-timeout: 3000
1111
connection-init-sql: SELECT 1
1212
validation-timeout: 2000
1313
minimum-idle: 10
14-
idle-timeout: 600000
15-
max-lifetime: 1800000
14+
idle-timeout: 300000
15+
max-lifetime: 1200000
1616
slave:
1717
hikari:
1818
jdbc-url: ENC(Ux6HWzhKveQtR3WOyTmA/qad//VpWjpNRpFLSdL7Rh1Y7uO7u3jBwLND6IyjI+HTaoLbXqGj/qX7830f1oBRiDndgHIxzOz9ftCwWHc4TioG9MsIEmGrxKGo7ylSyAW3z0VcUGjLQsVAZRyk9s6kKOdQnEZeZfWO+ACPHcPlG/KOfaqWlz3kl/N13hRNKaiIW8I/vo5aV8KDbrNkJhKT8PN5GDu9+TkYKS0iSt9TzrcseBW96MzgYg==)
1919
username: ENC(Z89GsautuOl2p6BefL146A==)
2020
password: ENC(4IWCgJuGPqbikO4xgN8jZRekUWDhUoyuafdh60pKN5M=)
2121
driver-class-name: com.mysql.cj.jdbc.Driver
22-
maximum-pool-size: 10
23-
connection-timeout: 5000
22+
maximum-pool-size: 33
23+
connection-timeout: 3000
2424
connection-init-sql: SELECT 1
2525
validation-timeout: 2000
2626
minimum-idle: 10
27-
idle-timeout: 600000
28-
max-lifetime: 1800000
27+
idle-timeout: 300000
28+
max-lifetime: 1200000
2929

3030
jpa:
3131
show-sql: false

0 commit comments

Comments
 (0)