Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Fix ODSM memory error on circleCI (#402)
Browse files Browse the repository at this point in the history
* Move ODSM memory settings to top settings.php

* Revert "Move ODSM memory settings to top settings.php"

This reverts commit 80e268d.

* Fix mysql runs out of memory in circle.

MYSQL will run out of memory in circle when visiting
`admin/config/services/odsm/edit/data_json_1_1`
  • Loading branch information
dafeder authored and dkinzer committed Aug 15, 2017
1 parent 97123bc commit 813ef17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/templates/circle.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ checkout:
database:
pre:
- echo -e 'secure_file_priv = ""' | sudo sh -c "cat >> /etc/mysql/my.cnf"
- echo -e 'max_allowed_packet = 128M' | sudo sh -c "cat >> /etc/mysql/my.cnf"
- echo -e 'innodb_buffer_pool_size=256M ' | sudo sh -c "cat >> /etc/mysql/my.cnf"
- sudo /usr/sbin/service mysql restart

## Customize dependencies
Expand Down
2 changes: 2 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ checkout:
database:
pre:
- echo -e 'secure_file_priv = ""' | sudo sh -c "cat >> /etc/mysql/my.cnf"
- echo -e 'max_allowed_packet = 128M' | sudo sh -c "cat >> /etc/mysql/my.cnf"
- echo -e 'innodb_buffer_pool_size=256M ' | sudo sh -c "cat >> /etc/mysql/my.cnf"
- sudo /usr/sbin/service mysql restart

## Customize dependencies
Expand Down

0 comments on commit 813ef17

Please sign in to comment.