summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
authorHiroyuki Sato <sathiroyuki@gmail.com>2019-04-05 00:17:52 +0900
committerHiroyuki Sato <sathiroyuki@gmail.com>2019-04-05 00:22:56 +0900
commite6780501cbfd0cae31fadd15b2964204171091cc (patch)
treeae2bb7fe92b0114019abbe6d4c861647b53e7a8a /app/workers
parent0adedbb4822a8daaa215b33c88ace136c31d042d (diff)
downloadgitlab-ce-e6780501cbfd0cae31fadd15b2964204171091cc.tar.gz
Refactor project_cache_worker_key
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/project_cache_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/project_cache_worker.rb b/app/workers/project_cache_worker.rb
index 73eb461768c..2b25b96a6f8 100644
--- a/app/workers/project_cache_worker.rb
+++ b/app/workers/project_cache_worker.rb
@@ -42,6 +42,6 @@ class ProjectCacheWorker
end
def project_cache_worker_key(project_id, statistics)
- (["project_cache_worker", project_id] + statistics.sort).join(":")
+ ["project_cache_worker", project_id, *statistics.sort].join(":")
end
end