Claire
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
app/controllers/media_proxy_controller.rb
|
|
@ -45,7 +45,7 @@ class MediaProxyController < ApplicationController |
|
|
|
end |
|
|
|
|
|
|
|
def lock_options |
|
|
|
{ redis: Redis.current, key: "media_download:#{params[:id]}" } |
|
|
|
{ redis: Redis.current, key: "media_download:#{params[:id]}", autorelease: 15.minutes.seconds } |
|
|
|
end |
|
|
|
|
|
|
|
def reject_media? |
|
|
|