Use typhoeus adapter for Elasticsearch client
We get Faraday connection issues because the client is unable to keep the connection open. Adding the typhoeus adapter will allow our Elastic client to have a "keep-alive" connection, as that is not included by default.
显示
- Gemfile 1 个添加, 0 个删除Gemfile
- Gemfile.lock 5 个添加, 0 个删除Gemfile.lock
- config/feature_flags/development/use_typhoeus_elasticsearch_adapter.yml 8 个添加, 0 个删除..._flags/development/use_typhoeus_elasticsearch_adapter.yml
- ee/lib/gem_extensions/elasticsearch/model/client.rb 5 个添加, 2 个删除ee/lib/gem_extensions/elasticsearch/model/client.rb
- ee/lib/gitlab/elastic/client.rb 5 个添加, 0 个删除ee/lib/gitlab/elastic/client.rb
- ee/spec/lib/gitlab/elastic/client_spec.rb 31 个添加, 0 个删除ee/spec/lib/gitlab/elastic/client_spec.rb
加载中
想要评论请 注册 或 登录