Skip to content

Commit 4daf9c0

Browse files
author
Adriano Santos
committed
feat: add bem options
1 parent 6cb1bfb commit 4daf9c0

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

rel/vm.args.eex

+24-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,26 @@
1-
## Customize flags given to the VM: https://www.erlang.org/doc/man/erl.html
2-
## -mode/-name/-sname/-setcookie are configured via env vars, do not set them here
1+
## Distributed Erlang Options
2+
## Enable TLS distribution
3+
-proto_dist inet_tls -ssl_dist_optfile /app/mtls.ssl.conf
34

4-
## Increase number of concurrent ports/sockets
5-
##+Q 65536
5+
## Use Ctrl-C to interrupt the current shell rather than invoking the emulator's
6+
## break handler and possibly exiting the VM.
7+
+Bc
68

7-
## Tweak GC to run more often
8-
##-env ERL_FULLSWEEP_AFTER 10
9+
# Allow time warps so that the Erlang system time can more closely match the
10+
# OS system time.
11+
+C multi_time_warp
12+
13+
## Load code at system startup
14+
## See http://erlang.org/doc/system_principles/system_principles.html#code-loading-strategy
15+
-mode embedded
16+
17+
## Disable scheduler busy wait to reduce idle CPU usage and avoid delaying
18+
## other OS processes. See http://erlang.org/doc/man/erl.html#+sbwt
19+
+sbwt none
20+
+sbwtdcpu none
21+
+sbwtdio none
22+
23+
## Enable heartbeat monitoring of the Erlang runtime system
24+
-heart -env HEART_BEAT_TIMEOUT 30
25+
26+
-name proxy@${POD_IP}

0 commit comments

Comments
 (0)