Skip to content
代码片段 群组 项目
未验证 提交 9820e44f 编辑于 作者: Matt Kasa's avatar Matt Kasa 提交者: GitLab
浏览文件

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>
No related branches found
No related tags found
无相关合并请求
...@@ -328,7 +328,7 @@ def double_replication_lag_time? ...@@ -328,7 +328,7 @@ def double_replication_lag_time?
end end
def low_timeout_for_host_queries? 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 end
end end
......
...@@ -448,7 +448,7 @@ def expect_next_replica_connection ...@@ -448,7 +448,7 @@ def expect_next_replica_connection
context 'with the flag set' do context 'with the flag set' do
before do before do
stub_feature_flags(load_balancer_low_statement_timeout: true) stub_feature_flags(load_balancer_low_statement_timeout: Feature.current_pod)
end end
it 'returns quickly if the underlying query takes a long time' do it 'returns quickly if the underlying query takes a long time' do
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册