Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Commit

Permalink
[service-ng] make rabbit disk free rate configurable
Browse files Browse the repository at this point in the history
Change-Id: I1158a18268a071a83719fb3eebc6a102bb801a0e
  • Loading branch information
andyzh committed Dec 14, 2012
1 parent d543f3d commit 30e91ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/rabbit_node_ng/templates/rabbit_node.yml.erb
Expand Up @@ -32,7 +32,7 @@ rabbit:
config_template: ../../../resources/rabbitmq24.config.erb
'2.8':
config_template: ../../../resources/rabbitmq28.config.erb
disk_free_limit: <%= ((plan_enabled && plan_conf.max_disk || 128) * 1024 * 1024 * 0.1).to_i %>
disk_free_limit: <%= ((plan_enabled && plan_conf.max_disk || 128) * 1024 * 1024 * (plan_enabled && plan_conf.free_disk_low_water || 0.1).to_f).to_i %>
migration_nfs: <%= properties.service_migration && properties.service_migration.mount_point ? properties.service_migration.mount_point : "/var/vcap/services_migration" %>
<% if node.ip_route %>
ip_route: <%= node.ip_route %>
Expand Down

0 comments on commit 30e91ec

Please sign in to comment.