Commit 84c0f913 authored by Benjamin Blanc's avatar Benjamin Blanc

erp5_bootstrap: Fix load balacing statement

parent ae7e0e23
......@@ -166,7 +166,7 @@ if scalability:
# TODO: Use an other way to do the load balancing (for example
# using zope.conf, and using family-zope group names).
# Apply load balacing
if count == 0:
if testIfExist("/%%s/portal_activities/manageLoadBalancing" %%site_id):
print "Load balacing.."
try:
zope_connection = getConnection()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment