perf(gateway): speed up reconnects and pin guilds to nodes (#3107)

This commit is contained in:
Hampus
2026-10-02 14:02:22 +02:00
committed by GitHub
parent ee2d11ee0a
commit a9265cbb39
48 changed files with 5459 additions and 453 deletions
@@ -13,4 +13,9 @@ eval | console | remote_console | remote | remsh | console_clean | console_boot
esac
script_dir="$(CDPATH='' cd "$(dirname "$0")" && pwd -P)"
node_name_file="$script_dir/../node_name"
if [ -r "$node_name_file" ]; then
FLUXER_ERLANG_NODE_NAME="$(cat "$node_name_file")"
export FLUXER_ERLANG_NODE_NAME
fi
exec "$script_dir/fluxer_gateway.real" "$@"