Commit 0f78d17b authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'fix/gb/fix-live-trace-fog-size' into 'master'

Use data bytesize checking in live trace fog adapter

Closes #231280

See merge request gitlab-org/gitlab!37673
parents eb2bd98b 2bc80394
......@@ -28,10 +28,7 @@ module Ci
end
def size(model)
connection.head_object(bucket_name, key(model))
.get_header('Content-Length')
rescue Excon::Error::NotFound
0
data(model).to_s.bytesize
end
def delete_data(model)
......
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