Skip to content

Commit

Permalink
refactor : jvm 메모리 제한
Browse files Browse the repository at this point in the history
  • Loading branch information
Daun0808 committed Jul 19, 2024
1 parent 660ab0a commit 28f2659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
source ~/.bashrc
export MYSQL_PASSWORD=${{ secrets.MYSQL_PASSWORD }}
export REDIS_PASSWORD=${{ secrets.REDIS_PASSWORD }}
nohup java -Xmx512m -jar ~/target/BOOK-STORE-ACCOUNT.jar --spring.profiles.active=prod --server.port=${{ secrets.ACCOUNT_PORT }} --spring.datasource.password=$MYSQL_PASSWORD --spring.redis.password=$REDIS_PASSWORD > account.log 2>&1 &
nohup java -Xmx256m -jar ~/target/BOOK-STORE-ACCOUNT.jar --spring.profiles.active=prod --server.port=${{ secrets.ACCOUNT_PORT }} --spring.datasource.password=$MYSQL_PASSWORD --spring.redis.password=$REDIS_PASSWORD > account.log 2>&1 &
echo "New application started. Check app.log for details."
Expand Down

0 comments on commit 28f2659

Please sign in to comment.