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 a1deb45 commit f97ba30
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ jobs:
else
echo "No process found on port 8080"
fi
nohup java -Xmx1200m -XX:NativeMemoryTracking=summary -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/home/ubuntu/heapdump.hprof -jar storage-0.0.1-SNAPSHOT.jar --spring.profiles.active=local > app.log 2>&1 &
nohup java -XX:NativeMemoryTracking=summary -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/home/ubuntu/heapdump.hprof -jar storage-0.0.1-SNAPSHOT.jar --spring.profiles.active=local > app.log 2>&1 &
EOF
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class CommonConstant {
public static final int FILE_WRITER_CORE_POOL_SIZE = 15;
public static final int FILE_WRITER_MAXIMUM_POOL_SIZE = 30;
public static final int FILE_WRITER_KEEP_ALIVE_TIME = 10;
public static final int FILE_WRITER_QUEUE_SIZE = 60;
public static final int FILE_WRITER_QUEUE_SIZE = 100;
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: 20
accept-count: 100
max-connections: 20
#server:
# tomcat:
# threads:
# min-spare: 10
# max: 20
# accept-count: 100
# max-connections: 20

share:
server-domain: localhost:8080
Expand Down

0 comments on commit f97ba30

Please sign in to comment.