Skip to content

Commit

Permalink
Fix #118 to enforce GOMAXPROCS > 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbellone committed Mar 14, 2015
1 parent 2a9d5b8 commit 4f52036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/consul-sysconfig.erb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
GOMAXPROCS=<%= node['cpu']['total'] %>
GOMAXPROCS=<%= [ node['cpu']['total'], 2 ].max %>

0 comments on commit 4f52036

Please sign in to comment.