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:
authorToon Claes <toon@gitlab.com>2023-03-14 12:05:37 +0300
committerToon Claes <toon@gitlab.com>2023-03-16 17:19:44 +0300
commit725bc10c676c42d23c50b4dba7eb970de9f345b9 (patch)
treea5ad4c5696797406bba1ea2056268c5c8d192b03
parent8f4b701d524813eb9ae0ad3bc8ef6010bca96aeb (diff)
gitaly: Do not start gitaly-ruby
We don't need gitaly-ruby no more, so no longer start it when Gitaly is launched. Epic: https://gitlab.com/groups/gitlab-org/-/epics/7874
-rw-r--r--internal/cli/gitaly/serve.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/internal/cli/gitaly/serve.go b/internal/cli/gitaly/serve.go
index 7bdf7560f..697fd1437 100644
--- a/internal/cli/gitaly/serve.go
+++ b/internal/cli/gitaly/serve.go
@@ -31,7 +31,6 @@ import (
"gitlab.com/gitlab-org/gitaly/v15/internal/gitaly/config/sentry"
"gitlab.com/gitlab-org/gitaly/v15/internal/gitaly/hook"
"gitlab.com/gitlab-org/gitaly/v15/internal/gitaly/maintenance"
- "gitlab.com/gitlab-org/gitaly/v15/internal/gitaly/rubyserver"
"gitlab.com/gitlab-org/gitaly/v15/internal/gitaly/server"
"gitlab.com/gitlab-org/gitaly/v15/internal/gitaly/service"
"gitlab.com/gitlab-org/gitaly/v15/internal/gitaly/service/setup"
@@ -304,12 +303,6 @@ func run(cfg config.Cfg) error {
updaterWithHooks := updateref.NewUpdaterWithHooks(cfg, locator, hookManager, gitCmdFactory, catfileCache)
- rubySrv := rubyserver.New(cfg, gitCmdFactory)
- if err := rubySrv.Start(); err != nil {
- return fmt.Errorf("initialize gitaly-ruby: %w", err)
- }
- defer rubySrv.Stop()
-
streamCache := streamcache.New(cfg.PackObjectsCache, glog.Default())
concurrencyTracker := hook.NewConcurrencyTracker()
prometheus.MustRegister(concurrencyTracker)
@@ -339,7 +332,6 @@ func run(cfg config.Cfg) error {
setup.RegisterAll(srv, &service.Dependencies{
Cfg: cfg,
- RubyServer: rubySrv,
GitalyHookManager: hookManager,
TransactionManager: transactionManager,
StorageLocator: locator,