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にならない。

$ heroku run bash
~ $ rails c
> x=MediaAttachment.remote.attached.find('440743')
> x.download_file!
:
/app/app/lib/request.rb:249:in `open': No address for example.com (SocketError)

まあしょうがないのやつだった。StopLightに入れた方がいいのかな…

しかしレスポンスとしては503にするしかないかw

zunda

ちゃうちゃう今回は500。いずれにしても。

いや、DNSがなくなってるのは404にまけてくれんか…w