File tree Expand file tree Collapse file tree 4 files changed +12
-47
lines changed
java/site/gachontable/gachontablebe Expand file tree Collapse file tree 4 files changed +12
-47
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public class CallUser {
31
31
private final AdminRepository adminRepository ;
32
32
private final SendBiztalk sendBiztalk ;
33
33
private final AutoCancelUser autoCancelUser ;
34
- private final ScheduledExecutorService executorService = Executors .newScheduledThreadPool (4 );
34
+ private final ScheduledExecutorService executorService = Executors .newScheduledThreadPool (8 );
35
35
36
36
@ Value ("${biztalk.templateId.call}" )
37
37
private String CALL_TEMPLATE_CODE ;
Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ public class AsyncConfiguration {
14
14
@ Bean
15
15
public Executor taskExecutor () {
16
16
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 );
20
20
executor .setThreadNamePrefix ("Biztalk" );
21
21
executor .initialize ();
22
22
return executor ;
Original file line number Diff line number Diff line change @@ -6,26 +6,26 @@ spring:
6
6
username : ENC(Z89GsautuOl2p6BefL146A==)
7
7
password : ENC(4IWCgJuGPqbikO4xgN8jZRekUWDhUoyuafdh60pKN5M=)
8
8
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
11
11
connection-init-sql : SELECT 1
12
12
validation-timeout : 2000
13
13
minimum-idle : 10
14
- idle-timeout : 600000
15
- max-lifetime : 1800000
14
+ idle-timeout : 300000
15
+ max-lifetime : 1200000
16
16
slave :
17
17
hikari :
18
18
jdbc-url : ENC(Ux6HWzhKveQtR3WOyTmA/qad//VpWjpNRpFLSdL7Rh1Y7uO7u3jBwLND6IyjI+HTaoLbXqGj/qX7830f1oBRiDndgHIxzOz9ftCwWHc4TioG9MsIEmGrxKGo7ylSyAW3z0VcUGjLQsVAZRyk9s6kKOdQnEZeZfWO+ACPHcPlG/KOfaqWlz3kl/N13hRNKaiIW8I/vo5aV8KDbrNkJhKT8PN5GDu9+TkYKS0iSt9TzrcseBW96MzgYg==)
19
19
username : ENC(Z89GsautuOl2p6BefL146A==)
20
20
password : ENC(4IWCgJuGPqbikO4xgN8jZRekUWDhUoyuafdh60pKN5M=)
21
21
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
24
24
connection-init-sql : SELECT 1
25
25
validation-timeout : 2000
26
26
minimum-idle : 10
27
- idle-timeout : 600000
28
- max-lifetime : 1800000
27
+ idle-timeout : 300000
28
+ max-lifetime : 1200000
29
29
30
30
jpa :
31
31
show-sql : false
You can’t perform that action at this time.
0 commit comments