diff options
author | Pedro Alvarez Piedehierro <palvarez89@gmail.com> | 2017-07-09 18:31:40 +0100 |
---|---|---|
committer | Pedro Alvarez Piedehierro <palvarez89@gmail.com> | 2017-07-13 19:54:23 +0100 |
commit | 905007e5df80c9fc0b7fe1b696b3182068586eda (patch) | |
tree | 9a98c20c530126076d3fccfdf288f05cd688ea66 /lorry-controller-minion | |
parent | 170b2ce981f6e7be834be56bee3c81da503555ee (diff) | |
download | lorry-controller-905007e5df80c9fc0b7fe1b696b3182068586eda.tar.gz |
Make migrations run only once per executionpedro/publish-failures
Yoyo migration libraries were failing in some cases due to "database is
locked" errors. It was difficult to track down what parallel operations
were causing the problems, so I dediced it was better to run the
migrations once per execution instead of executing them everytime
we opened a connection with the database (for every request).
Diffstat (limited to 'lorry-controller-minion')
0 files changed, 0 insertions, 0 deletions