いくつかあるトースターのツマミ、間違えたのを回してたのでいつまでも終わらない上にパンはぜんぜん焼けてなかったw
$ cal 2018 4
cal: 2018 is neither a month number (1..12) nor a name
もー
Redis::CommandError (OOM command not allowed when used memory > 'maxmemory'.) が最初に出たの2018-05-06 04:59:35 UTCらしくて、その直前の04:52:31 UTCに8286cd7cをデプロイしてるんだけどその前の2018-05-02 20:38:58のc7572db4との間に差分がありすぎて。
https://github.com/tootsuite/mastodon/compare/c7572db4...8286cd7c
method=GET path=/@zundan format=html controller=AccountsController action=showからviewをたどってくとREST::MediaAttachmentSerializerをRenderしてるのはviews/stream_entries/{_detailed_status.html.haml,_simple_status.html.haml}のmedia: status.media_attachments.map { |a| ActiveModelSerializers::SerializableResource.new(a, serializer: REST::MediaAttachmentSerializer).as_json }なところだね。
なぜこの行がRedisのメモリをもりもりにするのか、あるいは別の場所なのか
REST::MediaAttachmentSerializerの実装はapp/serializers/rest/media_attachment_serializer.rb。Serializerがキャッシュするのはattributesの内容なのかな?このどれかがおっきいのかな?