summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
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