summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-07-05 12:52:45 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-08-18 14:24:57 -0400
commit3a479c38e5f6d2138795da51a197469b98b006ac (patch)
treecc1682c208946ea6d6571b2a539dfbc0e0cd969f /apps
parenta1f345a2c0c88d22a97733c624b7857774fb4159 (diff)
bind schedulers using VM default strategy on startup
Diffstat (limited to 'apps')
-rw-r--r--apps/couch/src/couch_app.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/couch/src/couch_app.erl b/apps/couch/src/couch_app.erl
index 55906f82..70e1b7e0 100644
--- a/apps/couch/src/couch_app.erl
+++ b/apps/couch/src/couch_app.erl
@@ -19,6 +19,7 @@
-export([start/2, stop/1]).
start(_Type, _Args) ->
+ catch erlang:system_flag(scheduler_bind_type, default_bind),
IniFiles = get_ini_files(),
couch_server_sup:start_link(IniFiles).