Skip to content

Commit d117f27

Browse files
committed
API-4316 fix db2 hang on passenger process spawn
See the work found here: https://github.fbsdata.com/gist/wade/dfd89b945dcc391c6d4cbb70ca3b688a
1 parent d08116f commit d117f27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/octopus/proxy.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ def send_queries_to_slave_group(method, *args, &block)
328328
# Ensure that a single failing slave doesn't take down the entire application
329329
def with_each_healthy_shard
330330
@shards.each do |shard_name, v|
331+
next if shard_name.to_s == "master"
331332
begin
332333
yield(v)
333334
rescue => e

0 commit comments

Comments
 (0)