fix(mnesia): apply dump_log_write_threshold before mnesia start.
CI / test (push) Successful in 16m25s
CI / deploy-ift (push) Successful in 5m49s
CI / e2e-ift (push) Failing after 4m38s
CI / deploy-stage (push) Has been skipped
CI / e2e-stage (push) Has been skipped

change_config rejected the key; set_env + verify enables the IFT ceiling ladder. Refs EventHub/EventHubBack#30 Refs EventHub/EventHubBack#34

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-16 19:22:32 +03:00
parent 6dc06ccdf4
commit 4327de486f
7 changed files with 371 additions and 29 deletions
+4 -1
View File
@@ -16,7 +16,10 @@
]}
]},
{mnesia, [
{dir, "data/Mnesia.eventhub@${NODE_NAME}"}
{dir, "data/Mnesia.eventhub@${NODE_NAME}"},
%% Soften dump_log under write load; override via MNESIA_DUMP_LOG_WRITE_THRESHOLD
%% before start (infra_mnesia:configure_dump_log/0). OTP default ~1000.
{dump_log_write_threshold, 50000}
]},
{ cowboy_swagger, [
{ static_files, "./_build/default/lib/cowboy_swagger/priv/swagger" }