Read about our upcoming Code of Conduct on this issue

Commit 7905de9d authored by Shinya Maeda's avatar Shinya Maeda
Browse files

Remove force-flush-to-db when archiving trace

parent f97c5bfd5ed9
......@@ -6,10 +6,6 @@ class BuildFinishedWorker
def perform(build_id)
Ci::Build.find_by(id: build_id).try do |build|
# Swap all trace chunks to Database from Redis
# TODO: Do we need that?
build.trace_chunks.redis.map(&:use_database!)
# We execute that in sync as this access the files in order to access local data, and reduce IO
BuildTraceSectionsWorker.new.perform(build.id)
BuildCoverageWorker.new.perform(build.id)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment