diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-09-19 06:53:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-19 06:53:16 +0200 |
commit | 41e6c8b151da937acbb73b14df74fbd230dea981 (patch) | |
tree | 19f2850888a9490e0861e5f851ad4244dc9a4224 /app/controllers | |
parent | 813e6507293948ff3f0f78bf15422c61ff1d8342 (diff) |
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
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/media_proxy_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/media_proxy_controller.rb b/app/controllers/media_proxy_controller.rb index 6a83cf9dc..155670837 100644 --- a/app/controllers/media_proxy_controller.rb +++ b/app/controllers/media_proxy_controller.rb @@ -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 |