aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_init.c
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-03-21 11:36:25 +0100
committerJohn Högberg <[email protected]>2018-03-21 11:36:25 +0100
commitf338d0011cbc83e82b4ff2264a7e37f52190828f (patch)
tree509dc7a9427c3fa19ce0b51f98786a037628426f /erts/emulator/beam/erl_init.c
parentd171399bb5a0e9f4c6029564ece4fbf89f3c76f8 (diff)
downloadotp-f338d0011cbc83e82b4ff2264a7e37f52190828f.tar.gz
otp-f338d0011cbc83e82b4ff2264a7e37f52190828f.tar.bz2
otp-f338d0011cbc83e82b4ff2264a7e37f52190828f.zip
Change default async thread count to 1
All uses of async threads in the built-in drivers have been replaced with dirty IO, so it no longer makes sense to leave the default at 10.
Diffstat (limited to 'erts/emulator/beam/erl_init.c')
-rw-r--r--erts/emulator/beam/erl_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_init.c b/erts/emulator/beam/erl_init.c
index 8430a5559b..dfbf2c7651 100644
--- a/erts/emulator/beam/erl_init.c
+++ b/erts/emulator/beam/erl_init.c
@@ -60,7 +60,7 @@
# include <sys/resource.h>
#endif
-#define ERTS_DEFAULT_NO_ASYNC_THREADS 10
+#define ERTS_DEFAULT_NO_ASYNC_THREADS 1
#define ERTS_DEFAULT_SCHED_STACK_SIZE 128
#define ERTS_DEFAULT_DCPU_SCHED_STACK_SIZE 40