该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。
拉取镜像更新于 。
- 11月 09, 2021
-
-
由 Rémy Coutable 创作于
This reverts merge request !73512
-
由 Ash McKenzie 创作于
-
- 11月 01, 2021
-
-
由 Ash McKenzie 创作于
-
- 10月 08, 2021
-
-
由 Sean McGivern 创作于
bin/background_jobs would write to stdout with `start_foreground`, and to log/sidekiq.log with `start` or `restart`. That was confusing, as other application log files are in log/ in development. To simplify this, use `tee` to make `start_foreground` both write to stdout and log/sidekiq.log.
-
由 Sean McGivern 创作于
If you set the SIDEKIQ_QUEUES environment variable, bin/background_jobs will use that queue list rather than the default ('*'; all queues).
-
- 9月 07, 2021
-
-
由 Heinrich Lee Yu 创作于
Sets the default number of workers to 1 if SIDEKIQ_WORKERS is not provided. This also fixes a bug where we are starting 1 more process than requested.
-
- 10月 26, 2020
-
-
由 Peter Dave Hello 创作于
It's dangerous when `cd` fails but following commands keeps running which would lead to expected results. For those shell scripts without `set -e`, use `exit 1` before furthur refactor could be a safe and efficient workaround, for thoes shell scripts with `-e`, the shell(script) will exit immediately if any command has a non-zero exit status, so they don't need `exit 1` Reference: - https://github.com/koalaman/shellcheck/wiki/SC2164
-
- 5月 16, 2020
-
-
由 Matthias Fechner 创作于
Not all systems having bash in `/bin`. Use ´/usr/bin/env` to search for bash in `PATH`.
-
- 3月 19, 2020
-
-
由 Oswaldo Ferreira 创作于
The bin/background_jobs_sk_cluster script use some bashisms. In order to avoid issues with either GDK or other systems, here we make use of bash as the default interpreter.
-
- 3月 17, 2020
-
-
由 Oswaldo Ferreira 创作于
It simplifies the interface of `bin/background_jobs` as: 1. start - Starting sidekiq or sidekiq-cluster on background. 2. restart - Kill all existing processes and start them again (in background). 3. start_foreground - Starts sidekiq or sidekiq-cluster on foreground. 4. stop - Well, stops the process. Here we also split the script into two `bin/background_jobs_sk` and `bin/background_jobs_sk_cluster`. If `SIDEKIQ_WORKERS` env var is given we use the `bin/background_jobs_sk_cluster`, which has basically the same API of the sidekiq counterpart.
-
- 9月 27, 2019
-
-
由 Albert Salim 创作于
-
- 3月 01, 2019
-
-
由 Nick Thomas 创作于
-
- 10月 22, 2016
-
-
由 Yorick Peterse 创作于
Dumping too many jobs in the same queue (e.g. the "default" queue) is a dangerous setup. Jobs that take a long time to process can effectively block any other work from being performed given there are enough of these jobs. Furthermore it becomes harder to monitor the jobs as a single queue could contain jobs for different workers. In such a setup the only reliable way of getting counts per job is to iterate over all jobs in a queue, which is a rather time consuming process. By using separate queues for various workers we have better control over throughput, we can add weight to queues, and we can monitor queues better. Some workers still use the same queue whenever their work is related. For example, the various CI pipeline workers use the same "pipeline" queue. This commit includes a Rails migration that moves Sidekiq jobs from the old queues to the new ones. This migration also takes care of doing the inverse if ever needed. This does require downtime as otherwise new jobs could be scheduled in the old queues after this migration completes. This commit also includes an RSpec test that blacklists the use of the "default" queue and ensures cron workers use the "cronjob" queue. Fixes gitlab-org/gitlab-ce#23370
-
由 Yorick Peterse 创作于
Dumping too many jobs in the same queue (e.g. the "default" queue) is a dangerous setup. Jobs that take a long time to process can effectively block any other work from being performed given there are enough of these jobs. Furthermore it becomes harder to monitor the jobs as a single queue could contain jobs for different workers. In such a setup the only reliable way of getting counts per job is to iterate over all jobs in a queue, which is a rather time consuming process. By using separate queues for various workers we have better control over throughput, we can add weight to queues, and we can monitor queues better. Some workers still use the same queue whenever their work is related. For example, the various CI pipeline workers use the same "pipeline" queue. This commit includes a Rails migration that moves Sidekiq jobs from the old queues to the new ones. This migration also takes care of doing the inverse if ever needed. This does require downtime as otherwise new jobs could be scheduled in the old queues after this migration completes. This commit also includes an RSpec test that blacklists the use of the "default" queue and ensures cron workers use the "cronjob" queue. Fixes gitlab-org/gitlab-ce#23370
-
- 4月 28, 2016
-
-
由 Jacob Vosmaer 创作于
When running Unicorn or Sidekiq in the foreground this change removes an intermediate /bin/sh process. This makes process supervision in the GitLab Development Kit more reliable. This change does not affect Omnibus-GitLab (because there we do not use these launch scripts). Installations from source do use the launch scripts but for the standard GitLab init script this change will not make a difference. Custom installations using Upstart or Systemd may be affected however, because under certain configurations these systems count exactly how many forks happen during process startup, and we are reducing that number by one here.
-
- 1月 18, 2016
-
-
由 Valery Sizov 创作于
-
- 1月 15, 2016
-
-
由 Jacob Vosmaer 创作于
This behavior got lost in the previous commit.
-
- 1月 14, 2016
-
-
由 Jacob Vosmaer 创作于
-
- 12月 18, 2015
-
-
由 Kamil Trzciński 创作于
-
- 12月 03, 2015
-
-
由 Valery Sizov 创作于
-
- 8月 26, 2015
-
-
由 Douwe Maan 创作于
-
- 8月 20, 2015
-
-
由 Douwe Maan 创作于
-
- 4月 01, 2015
-
-
由 Douwe Maan 创作于
-
- 9月 10, 2014
-
-
由 Marin Jankovski 创作于
-
- 9月 08, 2014
-
-
由 Jacob Vosmaer 创作于
-
- 7月 04, 2014
-
-
由 Pavel Novitskiy 创作于
-
由 Pavel Novitskiy 创作于
-
由 unaheidi 创作于
Delete mailer queue because we don't use sidekiq_mailer gem and now the mailer queue doesn't exist any more.
-
- 6月 12, 2014
-
-
由 Jacob Vosmaer 创作于
Avoid the background_jobs script killing every process with 'sidekiq' in its argument string (e.g. 'rake gitlab:sidekiq start') by also catching the number (2) in 'sidekiq 2.14'.
-
- 5月 27, 2014
-
-
由 Marin Jankovski 创作于
-
- 4月 01, 2014
-
-
由 Jacob Vosmaer 创作于
This syntax is compatible with the current Sidekiq version we use (2.17.0) and it protects us against future breakage by https://github.com/mperham/sidekiq/commit/040eda558bc64139c846c781d3de0b79603e3035
-
- 3月 20, 2014
-
-
由 Jacob Vosmaer 创作于
-
由 Jacob Vosmaer 创作于
-
- 2月 10, 2014
-
-
由 Matthew Trisoline 创作于
Updated script/{web,background_job} to use #!/usr/bin/env bash rather than #!/bin/bash to allow for transparency between OS namely Linux and FreeBSD and for source installs of bash where path is not exported by default for /usr/local/{bin,sbin}
-
- 10月 22, 2013
-
-
由 Jacob Vosmaer 创作于
-
由 Jacob Vosmaer 创作于
-
- 10月 16, 2013
-
-
由 Jacob Vosmaer 创作于
-