refactor progress
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
11
fluxer_gateway/config/vm.args.src
Normal file
11
fluxer_gateway/config/vm.args.src
Normal 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
|
||||
@@ -1,4 +1,4 @@
|
||||
-name ${RELEASE_NODE}
|
||||
${FLUXER_GATEWAY_NODE_FLAG} ${FLUXER_GATEWAY_NODE_NAME}
|
||||
+K true
|
||||
+A30
|
||||
-env ERL_MAX_PORTS 4096
|
||||
|
||||
Reference in New Issue
Block a user