Skip to content

Commit 477fc3b

Browse files
committed
Tau - disable Erlang distribution by default
This stops epmd from starting up.
1 parent 977bd40 commit 477fc3b

File tree

4 files changed

+35
-0
lines changed

4 files changed

+35
-0
lines changed

app/server/erlang/tau/rel/env.bat.eex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@echo off
2+
set RELEASE_DISTRIBUTION=none
3+
set ELIXIR_ERL_OPTIONS="-sname undefined"

app/server/erlang/tau/rel/env.sh.eex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
3+
export RELEASE_DISTRIBUTION=none
4+
export ELIXIR_ERL_OPTIONS="-sname undefined"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Customize flags given to the VM: https://erlang.org/doc/man/erl.html
2+
## -mode/-name/-sname/-setcookie are configured via env vars, do not set them here
3+
4+
## Number of dirty schedulers doing IO work (file, sockets, and others)
5+
##+SDio 5
6+
7+
## Increase number of concurrent ports/sockets
8+
##+Q 65536
9+
10+
## Tweak GC to run more often
11+
##-env ERL_FULLSWEEP_AFTER 10

app/server/erlang/tau/rel/vm.args.eex

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Customize flags given to the VM: https://erlang.org/doc/man/erl.html
2+
## -mode/-name/-sname/-setcookie are configured via env vars, do not set them here
3+
4+
## Number of dirty schedulers doing IO work (file, sockets, and others)
5+
##+SDio 5
6+
7+
## Increase number of concurrent ports/sockets
8+
##+Q 65536
9+
10+
## Tweak GC to run more often
11+
##-env ERL_FULLSWEEP_AFTER 10
12+
13+
14+
# +C multi_time_warp
15+
# +c true
16+
#-noinput
17+
# -version

0 commit comments

Comments
 (0)