我已经在我的树莓派3上安装了gitlab社区版。一切工作正常。但是当应用程序启动时,有25个sidekiq线程。它消耗了我的记忆,我不想要那么多线程。sidekiq.yml文件没有考虑
我试着通过添加文件/opt/gitlab/embedded/service/gitlab-rails/config/sidekiq.yml进行控制。
# Sample configuration file for Sidekiq.
# Options here can still be overridden by cmd line args.
# Place this file at config/sidekiq.yml and Sidekiq will
# pick it up automatically.
---
:verbose: false
:concurrency: 5
# Set timeout to 8 on Heroku, longer if you manage your own systems.
:timeout: 30
# Sidekiq will run this file through ERB when reading it so you can
# even put in dynamic logic, like a host-specific queue.
# http://www.mikeperham.com/2013/11/13/advanced-sidekiq-host-specific-queues/
:queues:
- critical
- default
- <%= `hostname`.strip %>
- low
# you can override concurrency based on environment
production:
:concurrency: 5
staging:
:concurrency: 5
我已重新启动应用程序多次,甚至运行“重新配置”。这没有帮助。它根本没有考虑sidekiq.yml文件。
任何人都可以让我知道我要去哪里吗?