Skip to content

Commit

Permalink
Merge pull request #527 from catatsuy/feature-remove-optimization-com…
Browse files Browse the repository at this point in the history
…mands-from-ci-workflow

Remove unnecessary database optimization commands from CI workflow
  • Loading branch information
catatsuy authored Aug 24, 2024
2 parents 4233fc1 + 59ba474 commit 9fa2c45
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ jobs:
echo "Waiting for database initialization..."
sleep 10
done
# for avoiding "Lock wait timeout exceeded; try restarting transaction" error
docker compose exec -T mysql mysql -uroot -proot -e "OPTIMIZE table posts;" isuconp
docker compose exec -T mysql mysql -uroot -proot -e "OPTIMIZE table users;" isuconp
docker compose exec -T mysql mysql -uroot -proot -e "OPTIMIZE table comments;" isuconp
- name: Run the benchmark
continue-on-error: true
Expand Down

0 comments on commit 9fa2c45

Please sign in to comment.