diff --git a/.ebextensions_dev/01-env.config b/.ebextensions_dev/01-env.config new file mode 100644 index 0000000..cd08dde --- /dev/null +++ b/.ebextensions_dev/01-env.config @@ -0,0 +1,9 @@ +option_settings: + aws:elasticbeanstalk:application:environment: + JAVA_TOOL_OPTIONS: > + -Xms512m -Xmx512m + -XX:+UseG1GC -XX:MaxGCPauseMillis=200 + -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/heapdump.hprof + -XX:+ExitOnOutOfMemoryError + -Dexcel.permits=2 + SERVER_TOMCAT_THREADS_MAX: "50" \ No newline at end of file diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index cf56305..bda25d7 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -126,4 +126,9 @@ spring: client: registration: kakao: - redirect-uri: http://canfly.ap-northeast-2.elasticbeanstalk.com/login/oauth2/code/kakao \ No newline at end of file + redirect-uri: http://canfly.ap-northeast-2.elasticbeanstalk.com/login/oauth2/code/kakao + +server: + tomcat: + threads: + max: ${SERVER_TOMCAT_THREADS_MAX:50} \ No newline at end of file