なんとかして未来のstatusがRedisTLにいるのを消した もっと見る
future = Mastodon::Snowflake.id_at(3.hours.after)feeds = Redis.current.keys('feed:*')feeds.each do |key| next if key =~ /:reblogs/; Redis.current.zremrangebyscore(key, "(#{future}", 'inf') end
Mastodonは、オープンなウェブプロトコルを採用した、自由でオープンソースなソーシャルネットワークです。電子メールのような分散型の仕組みを採っています。