Skip to content
Snippets Groups Projects
Unverified Commit 9820e44f authored by Matt Kasa's avatar Matt Kasa Committed by GitLab
Browse files

Merge branch 'stomlinson/load-balancer-low-statement-timeout-2' into 'master'

Reapply "Merge branch 'stomlinson/use-pod-ff-for-load-balancer-statement-timeout' into 'master'"

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/169019



Merged-by: default avatarMatt Kasa <mkasa@gitlab.com>
Approved-by: default avatarMax Orefice <morefice@gitlab.com>
Approved-by: default avatarMatt Kasa <mkasa@gitlab.com>
Reviewed-by: default avatarMax Orefice <morefice@gitlab.com>
Co-authored-by: default avatarSimon Tomlinson <stomlinson@gitlab.com>
parents d8f806bc 318c172a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -328,7 +328,7 @@ def double_replication_lag_time?
end
 
def low_timeout_for_host_queries?
Feature.enabled?(:load_balancer_low_statement_timeout)
Feature.enabled?(:load_balancer_low_statement_timeout, Feature.current_pod)
end
end
end
Loading
Loading
Loading
Loading
@@ -448,7 +448,7 @@ def expect_next_replica_connection
 
context 'with the flag set' do
before do
stub_feature_flags(load_balancer_low_statement_timeout: true)
stub_feature_flags(load_balancer_low_statement_timeout: Feature.current_pod)
end
 
it 'returns quickly if the underlying query takes a long time' do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment