Skip to content

Commit

Permalink
HSD8-1700: Increase Tugboat Max Allowed Packet size to 512MB.
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Hendrick committed Dec 9, 2024
1 parent 416ecc8 commit f9f09ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .tugboat/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ services:
update:
- rm -rf vendor
- composer install --no-ansi
- mysql -h mysql -P 3306 -u tugboat -ptugboat -e 'SET GLOBAL max_allowed_packet=67108864;'
- mysql -h mysql -P 3306 -u tugboat -ptugboat -e 'SET GLOBAL max_allowed_packet=536870912;'
# Sync to hs_colorful, hs_colorful database & files and create user.
- blt drupal:sync:files --site=hs_colorful
- drush @hs_colorful.local user:create tugboat --password=pushcar || true
Expand All @@ -66,7 +66,7 @@ services:
build:
- rm -rf vendor
- composer install --no-ansi
- mysql -h mysql -P 3306 -u tugboat -ptugboat -e 'SET GLOBAL max_allowed_packet=67108864;'
- mysql -h mysql -P 3306 -u tugboat -ptugboat -e 'SET GLOBAL max_allowed_packet=536870912;'

- drush @hs_colorful.local cr
- drush @hs_colorful.local eval '\Drupal::moduleHandler()->loadInclude("user", "install");user_update_10000();'
Expand Down Expand Up @@ -105,7 +105,7 @@ services:
image: tugboatqa/mysql:5
commands:
update:
- mysql -e 'SET GLOBAL max_allowed_packet=67108864;'
- mysql -e 'SET GLOBAL max_allowed_packet=536870912;'
# Delete and recreate the database for each site.
- mysql -e "DROP DATABASE IF EXISTS hs_colorful; CREATE DATABASE hs_colorful;"
- mysql -e "DROP DATABASE IF EXISTS hs_traditional; CREATE DATABASE hs_traditional;"
Expand Down

0 comments on commit f9f09ff

Please sign in to comment.