summaryrefslogtreecommitdiff
path: root/config/sidekiq_queues.yml
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2019-02-20 15:35:57 +0000
committerNick Thomas <nick@gitlab.com>2019-03-27 16:51:33 +0000
commit0e831b0b692f2988d3c84fc01a463b08afec05ad (patch)
tree3fdcb423db62141b2db2d2cc3f39986fb929c8af /config/sidekiq_queues.yml
parent98824f3e97e24a5d6cb0688167bc8411a74739fc (diff)
downloadgitlab-ce-0e831b0b692f2988d3c84fc01a463b08afec05ad.tar.gz
Allow external diffs to be used conditionally
Since external diffs are likely to be a bit slower than in-database ones, add a mode that makes diffs external after they've been obsoleted by events. This should strike a balance between performance and disk space. A background cron drives the majority of migrations, since diffs become outdated through user actions.
Diffstat (limited to 'config/sidekiq_queues.yml')
-rw-r--r--config/sidekiq_queues.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/sidekiq_queues.yml b/config/sidekiq_queues.yml
index cef123b86ae..2dc0da00919 100644
--- a/config/sidekiq_queues.yml
+++ b/config/sidekiq_queues.yml
@@ -89,3 +89,4 @@
- [project_daily_statistics, 1]
- [import_issues_csv, 2]
- [chat_notification, 2]
+ - [migrate_external_diffs, 1]