Use async nifs technique to avoid blocking the BEAM's schedulers #1
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ extern "C" {
|
||||||
echo 1000000 > /proc/sys/kernel/threads-max
|
echo 1000000 > /proc/sys/kernel/threads-max
|
||||||
and for all UNIX systems there will be ulimit maximums. */
|
and for all UNIX systems there will be ulimit maximums. */
|
||||||
#ifndef ASYNC_NIF_MAX_WORKERS
|
#ifndef ASYNC_NIF_MAX_WORKERS
|
||||||
#define ASYNC_NIF_MAX_WORKERS 64
|
#define ASYNC_NIF_MAX_WORKERS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "queue.h"
|
#include "queue.h"
|
||||||
|
|
Loading…
Reference in a new issue