Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer (GitLab) <jacob@gitlab.com>2018-05-16 16:56:31 +0300
committerZeger-Jan van de Weg <zegerjan@gitlab.com>2018-05-16 16:56:31 +0300
commitaff01a0e09974d7019d49753077742b66a3cca9c (patch)
treed64175229e45583de9eafed630ba67147d8b63eb /internal/testhelper
parentc5a643aea441f165b46b40f4eda283d9dec59184 (diff)
Use round robin load balancing instead of 'pick first' for gitaly-ruby
Diffstat (limited to 'internal/testhelper')
-rw-r--r--internal/testhelper/testhelper.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/internal/testhelper/testhelper.go b/internal/testhelper/testhelper.go
index 10dd4507e..892c11b78 100644
--- a/internal/testhelper/testhelper.go
+++ b/internal/testhelper/testhelper.go
@@ -259,12 +259,6 @@ func ConfigureRuby() {
if err := config.ConfigureRuby(); err != nil {
log.Fatal("validate ruby config: %v", err)
}
-
- // This speeds up test boot-up. The reason we use more than 1 worker in
- // production is to handle memory leaks, but the tests don't run for long
- // enough to hit those memory leaks anyway. Most tests also run faster
- // than the minimum delay before a ruby worker failover can even happen.
- config.Config.Ruby.NumWorkers = 1
}
// NewTestGrpcServer creates a GRPC Server for testing purposes