aboutsummaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-07-04 12:06:25 +0100
committerChristopher Baines <mail@cbaines.net>2018-07-04 12:06:25 +0100
commit8bd3eac92e0b098608b4b4f0becc9516d872213a (patch)
treec6f087725bef61be23079d8a8582fad5462eaf14 /.dir-locals.el
parent74fb581d6aedc321b64e43c82bff01bc35a0f7da (diff)
downloadgovuk-mini-environment-admin-8bd3eac92e0b098608b4b4f0becc9516d872213a.tar
govuk-mini-environment-admin-8bd3eac92e0b098608b4b4f0becc9516d872213a.tar.gz
Use database locking to prevent concurrent Terraform jobs
Currently, the Terraform code uses chdir in the Ruby process to change to the right working directory. This affects all threads in the process, and thus means that all Terraform jobs conflict with each other. It would be good to fix this somehow, e.g. not changing directory, and just specifying the directory in which to run Terraform when starting it, but for now, use the advisory locks to force the jobs to run sequentially.
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions