Skip to content

Commit

Permalink
Remove unnecessary database optimization commands from CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
catatsuy committed Aug 24, 2024
1 parent f791602 commit 15434b1
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 15434b1

Please sign in to comment.