Fix incomplete account records being read (#4998)
* Fix incomplete account records being read - Put account processing into redis lock - Do not save until record is complete * Fix spaces
This commit is contained in:
@ -18,7 +18,7 @@ class MediaProxyController < ApplicationController
|
||||
|
||||
def redownload!
|
||||
@media_attachment.file_remote_url = @media_attachment.remote_url
|
||||
@media_attachment.touch(:created_at)
|
||||
@media_attachment.created_at = Time.now.utc
|
||||
@media_attachment.save!
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user