mastodon.zunda.ninja is one of the many independent Mastodon servers you can use to participate in the fediverse.
Zundon is a single user instance as home of @zundan as well as a test bed for changes of the code.

Administered by:

Server stats:

1
active users

method=GET path=/media_proxy/440743/small format=html controller=MediaProxyController action=show status=500

む?

app/controllers/media_proxy_controller.rbで、同じidに対して15分以内にGETが来るとMastodon::RaceConditionErrorをraiseするようだ。たぶんapp/controllers/application_controller.rbでservice_unavailableから503。ちゃうな。500にならない。

zunda

このRedisでのロックもたぶん勘違いだ。ドキュメントを見なくちゃだけど、たぶん、異常終了したり無限ループになった場合のロックの最大持続時間を15分間にしておいて、ブロックを抜けたときにロックをはずすんだ。