Commits

Anonymous committed 492baef

enable kernel-poll (+K true) by default

Comments (0)

Files changed (2)

 #!/usr/bin/env bash
 # debug-restart <configfile>
 # assuming we've run a node from here before, start back up in debug mode
+. riak-env.sh
 NODENAME=$(erl -noshell -pa ebin -eval "error_logger:tty(false), riak_app:read_config(\"$1\"), io:format(\"~p~n\",[riak:get_app_env(riak_nodename)])" -run init stop)
 RHOSTNAME=$(erl -noshell -pa ebin -eval "error_logger:tty(false), riak_app:read_config(\"$1\"), io:format(\"~s~n\",[riak:get_app_env(riak_hostname)])" -run init stop)
 if [ "$NODENAME" = "no_riak_nodename_undefined" ]; then
-export ERL_MAX_ETS_TABLES=100000
+export ERL_FLAGS="+K true"
+