Disable busy waiting in release (#370)

This commit is contained in:
Jonatan Kłosko 2021-06-18 17:32:53 +02:00 committed by GitHub
parent 2088a0fc25
commit 8ed2cda808
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -19,6 +19,7 @@ COPY config config
RUN mix do deps.get, deps.compile
# Compile and build the release
COPY rel rel
COPY priv priv
COPY lib lib
# We need README.md during compilation

3
rel/vm.args.eex Normal file
View file

@ -0,0 +1,3 @@
# Disable busy waiting, so that we don't waste
# resources when running in the cloud
+sbwt none +sbwtdcpu none +sbwtdio none