Anonymous avatar Anonymous committed 445a903

Renaming jsvm_count -> js_vm_count to be consistent with js_source_dir

Comments (0)

Files changed (2)

apps/riak/src/riak_sup.erl

                 {riak_stat, start_link, []},
                 permanent, 5000, worker, [riak_stat]},
     RiakJsMgr = {riak_js_manager,
-                 {riak_js_manager, start_link, [riak:get_app_env(jsvm_count, 0)]},
+                 {riak_js_manager, start_link, [riak:get_app_env(js_vm_count, 0)]},
                  permanent, 30000, worker, [riak_js_manager]},
     RiakJsSup = {riak_js_sup,
                  {riak_js_sup, start_link, []},

rel/overlay/etc/app.config

          %% mapred_name is URL used to submit map/reduce requests to Riak.
          {mapred_name, "mapred"},
 
-         %% jsvm_count is the number of Javascript VMs to start per Riak node.
+         %% js_vm_count is the number of Javascript VMs to start per Riak node.
          %% 8 is a good default for smaller installations. A larger number like
          %% 12 or 16 is appropriate for installations handling lots of map/reduce
          %% processing.
-         {jsvm_count, 8},
+         {js_vm_count, 8},
 
          %% js_source_dir should point to a directory containing Javascript source
          %% files which will be loaded by Riak when it initializes Javascript VMs.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.