Skip to content

Commit d08116f

Browse files
bhornsethwlmcewen
authored andcommitted
INTAPI-104 Also check superclass for custom conn
1 parent 6861ce4 commit d08116f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/octopus/model.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ def should_use_normal_connection?
128128
true
129129
elsif custom_octopus_connection
130130
!connection_proxy.block || !allowed_shard?(connection_proxy.current_shard)
131+
elsif self.superclass.respond_to?(:custom_octopus_connection)
132+
self.superclass.custom_octopus_connection
131133
end
132134
end
133135

0 commit comments

Comments
 (0)