Skip to content

Commit

Permalink
fix: 스레드 풀 개수 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kariskan committed Aug 28, 2024
1 parent 7a38776 commit 9b97000
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
public class CommonConstant {
public static final Character[] FILE_NAME_BLACK_LIST = {'\\', '/', ':', '*', '?', '"', '<', '>', '|'};
public static final int MAX_FOLDER_DEPTH = 50;
public static final int FILE_WRITER_CORE_POOL_SIZE = 10;
public static final int FILE_WRITER_MAXIMUM_POOL_SIZE = 20;
public static final int FILE_WRITER_CORE_POOL_SIZE = 150;
public static final int FILE_WRITER_MAXIMUM_POOL_SIZE = 200;
public static final int FILE_WRITER_KEEP_ALIVE_TIME = 10;
public static final int FILE_WRITER_QUEUE_SIZE = 40;
public static final int FILE_WRITER_QUEUE_SIZE = 400;
public static final int THUMBNAIL_WRITER_CORE_POOL_SIZE = 10;
public static final int THUMBNAIL_WRITER_MAXIMUM_POOL_SIZE = 100;
public static final int THUMBNAIL_WRITER_KEEP_ALIVE_TIME = 0;
Expand Down
18 changes: 9 additions & 9 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ spring:
on-profile: local
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
hikari:
maximum-pool-size: 20
# hikari:
# maximum-pool-size: 20
jpa:
hibernate:
ddl-auto: none
Expand Down Expand Up @@ -39,13 +39,13 @@ management:
export:
enabled: true

server:
tomcat:
threads:
min-spare: 10
max: 40
accept-count: 100
max-connections: 40
#server:
# tomcat:
# threads:
# min-spare: 10
# max: 40
# accept-count: 100
# max-connections: 40

share:
server-domain: localhost:8080
Expand Down

0 comments on commit 9b97000

Please sign in to comment.