refactor progress

This commit is contained in:
Hampus Kraft
2026-02-17 12:22:36 +00:00
parent cb31608523
commit d5abd1a7e4
8257 changed files with 1190207 additions and 761040 deletions

View File

@@ -1,27 +1,9 @@
[
{fluxer_gateway, [
{ws_port, 8080},
{rpc_port, 8081},
{api_host, "${FLUXER_API_HOST}"},
{rpc_secret_key, <<"${GATEWAY_RPC_SECRET}">>},
{max_payload_size, 4096},
{heartbeat_interval, 41250},
{heartbeat_timeout, 45000},
{resume_timeout, 10000},
{identify_rate_limit_enabled, false},
{push_enabled, true},
{push_user_guild_settings_cache_mb, 8192},
{push_subscriptions_cache_mb, 8192},
{push_blocked_ids_cache_mb, 8192},
{push_badge_counts_cache_mb, 256},
{push_badge_counts_cache_ttl_seconds, 60},
{media_proxy_endpoint, "${MEDIA_PROXY_ENDPOINT}"}
]},
{kernel, [
{logger_level, debug},
{logger_level, ${LOGGER_LEVEL}},
{logger, [
{handler, default, logger_std_h, #{
level => debug,
level => ${LOGGER_LEVEL},
config => #{
type => standard_io
}

View File

@@ -0,0 +1,11 @@
${FLUXER_GATEWAY_NODE_FLAG} ${FLUXER_GATEWAY_NODE_NAME}
+K true
+A30
-env ERL_MAX_PORTS 4096
-env ERL_PROCESSES 262144
+P 262144
+Q 65536
+S 4:4
+zdbbl 32768
-kernel logger_level ${LOGGER_LEVEL}
-kernel inet_backend socket

View File

@@ -1,4 +1,4 @@
-name ${RELEASE_NODE}
${FLUXER_GATEWAY_NODE_FLAG} ${FLUXER_GATEWAY_NODE_NAME}
+K true
+A30
-env ERL_MAX_PORTS 4096