2024/01/18分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #50781 from Shopify/as-cache-limitter
Add rate limiting to Action Controller via the Kredis limiter typeで追加されたRate Limitingの機能を、Kredisに依存せず、ActiveSupport::Cache
を使用するようリファクタリングしています。
Touch up the AC::RateLimiting documentation
actionpack/lib/action_controller/metal/rate_limiting.rb
のdocの修正です。
rate_limit
メソッドのdocのフォーマットの修正、不要なTODOコメントの削除を行っています。
More AC::RateLimiting documentation fixes
actionpack/lib/action_controller/metal/rate_limiting.rb
のdocの修正です。
rate_limit
メソッドのdocのグラマーの修正を行っています。
Fix async queries to work with query cache and other cached async queries
Active Recordの修正です。
async queriesをquery cacheや他のcached d async queriesと合わせて使った場合に、誤った値を返してしまうバグがあったのを修正しています。
activesupport/lib/active_support/cache/file_store.rb
、
actionpack/test/controller/rate_limiting_test.rb
の修正です。
Refactor ActionController::RateLimiting to use AS::Cacheのフォローアップとして、不足していたテストの追加、同じ内容の変数の削除、等を行っています。