Skip to content

Commit

Permalink
Update nginx load balancing setting for Galaxy to least_conn server
Browse files Browse the repository at this point in the history
  • Loading branch information
afgane committed Apr 4, 2017
1 parent 5b43d9c commit 061a0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cm/services/apps/nginx.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def _define_upstream_servers(self):
galaxy_server = "server 127.0.0.1:8080;"
else:
web_thread_count = int(self.app.config.web_thread_count)
galaxy_server = 'ip_hash;'
galaxy_server = 'least_conn;'
if web_thread_count > 9:
log.warning("Current code supports max 9 web threads. "
"Setting the web thread count to 9.")
Expand Down

0 comments on commit 061a0b3

Please sign in to comment.