Merge branch 'main' into glitch-soc/merge-upstream

Conflicts:
- `README.md`:
  Upstream's README got updated, but we have a completely different one.
  Kept ours.
This commit is contained in:
Claire
2021-05-27 17:58:44 +02:00
13 changed files with 136 additions and 193 deletions

View File

@ -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?