diff --git a/rel/files/emqttd.config.development b/rel/files/emqttd.config.development index fed80e9c4..9b8eedb2d 100644 --- a/rel/files/emqttd.config.development +++ b/rel/files/emqttd.config.development @@ -249,13 +249,13 @@ %% Long GC {long_gc, 100}, + %% Long Schedule(ms) + {long_schedule, 50}, + %% 8M words. 32MB on 32-bit VM, 64MB on 64-bit VM. %% 8 * 1024 * 1024 {large_heap, 8388608}, - %% Long Schedule(ms) - {long_schedule, 50}, - %% Busy Port {busy_port, true}, diff --git a/rel/files/emqttd.config.production b/rel/files/emqttd.config.production index 4d92dfb0f..639630672 100644 --- a/rel/files/emqttd.config.production +++ b/rel/files/emqttd.config.production @@ -242,13 +242,13 @@ %% https://github.com/erlang/otp/blob/feb45017da36be78d4c5784d758ede619fa7bfd3/erts/emulator/beam/erl_gc.c#L421 {long_gc, false}, + %% Long Schedule(ms) + {long_schedule, 50}, + %% 8M words. 32MB on 32-bit VM, 64MB on 64-bit VM. %% 8 * 1024 * 1024 {large_heap, 8388608}, - %% Long Schedule(ms) - {long_schedule, 50}, - %% Busy Port {busy_port, true},