-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added config for distribution support
- Loading branch information
Showing
8 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@echo off | ||
rem Set the release to load code on demand (interactive) instead of preloading (embedded). | ||
rem set RELEASE_MODE=interactive | ||
|
||
rem Set the release to work across nodes. | ||
rem RELEASE_DISTRIBUTION must be "sname" (local), "name" (distributed) or "none". | ||
rem set RELEASE_DISTRIBUTION=name | ||
rem set RELEASE_NODE=<%= @release.name %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
|
||
# # Sets and enables heart (recommended only in daemon mode) | ||
# case $RELEASE_COMMAND in | ||
# daemon*) | ||
# HEART_COMMAND="$RELEASE_ROOT/bin/$RELEASE_NAME $RELEASE_COMMAND" | ||
# export HEART_COMMAND | ||
# export ELIXIR_ERL_OPTIONS="-heart" | ||
# ;; | ||
# *) | ||
# ;; | ||
# esac | ||
|
||
# # Set the release to load code on demand (interactive) instead of preloading (embedded). | ||
# export RELEASE_MODE=interactive | ||
|
||
# # Set the release to work across nodes. | ||
# # RELEASE_DISTRIBUTION must be "sname" (local), "name" (distributed) or "none". | ||
# export RELEASE_DISTRIBUTION=name | ||
# export RELEASE_NODE=<%= @release.name %> | ||
|
||
if [ ! -z "${DIST_TLS_CONF}" ]; then | ||
export ELIXIR_ERL_OPTIONS="-proto_dist inet_tls -ssl_dist_optfile ${DIST_TLS_CONF}" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## Customize flags given to the VM: https://www.erlang.org/doc/man/erl.html | ||
## -mode/-name/-sname/-setcookie are configured via env vars, do not set them here | ||
|
||
## Increase number of concurrent ports/sockets | ||
##+Q 65536 | ||
|
||
## Tweak GC to run more often | ||
##-env ERL_FULLSWEEP_AFTER 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## Customize flags given to the VM: https://www.erlang.org/doc/man/erl.html | ||
## -mode/-name/-sname/-setcookie are configured via env vars, do not set them here | ||
|
||
## Increase number of concurrent ports/sockets | ||
##+Q 65536 | ||
|
||
## Tweak GC to run more often | ||
##-env ERL_FULLSWEEP_AFTER 10 | ||
-kernel inet_dist_listen_min 4370 inet_dist_listen_max 4500 |