Commit ddd6b21b authored by Shinya Maeda's avatar Shinya Maeda

Remove force-flush-to-db when archiving trace

parent c46101e2
...@@ -6,10 +6,6 @@ class BuildFinishedWorker ...@@ -6,10 +6,6 @@ class BuildFinishedWorker
def perform(build_id) def perform(build_id)
Ci::Build.find_by(id: build_id).try do |build| 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 # We execute that in sync as this access the files in order to access local data, and reduce IO
BuildTraceSectionsWorker.new.perform(build.id) BuildTraceSectionsWorker.new.perform(build.id)
BuildCoverageWorker.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