Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
reachfh committed Oct 7, 2023
1 parent 2b3aaff commit b4e4275
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 17 deletions.
5 changes: 0 additions & 5 deletions rel/env.bat.eex

This file was deleted.

9 changes: 6 additions & 3 deletions rel/env.sh.eex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

# Sets and enables heart (recommended only in daemon mode)
# # Sets and enables heart (recommended only in daemon mode)
# case $RELEASE_COMMAND in
# daemon*)
# HEART_COMMAND="$RELEASE_ROOT/bin/$RELEASE_NAME $RELEASE_COMMAND"
Expand All @@ -11,7 +11,10 @@
# ;;
# esac

# Set the release to work across nodes.
# RELEASE_DISTRIBUTION must be "sname" (local), "name" (distributed) or "none".
# # 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 %>
5 changes: 1 addition & 4 deletions rel/remote.vm.args.eex
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
## Customize flags given to the VM: https://erlang.org/doc/man/erl.html
## 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

## Number of dirty schedulers doing IO work (file, sockets, and others)
##+SDio 5

## Increase number of concurrent ports/sockets
##+Q 65536

Expand Down
7 changes: 2 additions & 5 deletions rel/vm.args.eex
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
## Customize flags given to the VM: https://erlang.org/doc/man/erl.html
## 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

## Number of dirty schedulers doing IO work (file, sockets, and others)
##+SDio 5

## Increase number of concurrent ports/sockets
##+Q 65536

## Tweak GC to run more often
##-env ERL_FULLSWEEP_AFTER 10

-kernel logger '[{handler, default, logger_std_h, #{formatter => {logger_formatter_json, #{template => [msg, time, level, file, line, mfa, pid, trace_id, span_id]}}}}]'
# -kernel logger '[{handler, default, logger_std_h, #{formatter => {logger_formatter_json, #{template => [msg, time, level, file, line, mfa, pid, trace_id, span_id]}}}}]'
# -kernel logger '[{handler, default, logger_std_h, #{formatter => {logger_formatter_json, #{}}}}]'

0 comments on commit b4e4275

Please sign in to comment.