Skip to content
Snippets Groups Projects
Commit b63e8f4a authored by Michael Kozono's avatar Michael Kozono
Browse files

Fallback on checksum jobs

Since `calculate_checksum` depends on `Uploader` classes which are not defined in this background migration and may change at any time.
parent 07150348
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -166,6 +166,8 @@ module Gitlab
return unless exist?
 
self.checksum = Digest::SHA256.file(absolute_path).hexdigest
rescue StandardError
schedule_checksum
end
 
def exist?
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment