diff --git a/README.md b/README.md index bbc5f7e..bdc4854 100644 --- a/README.md +++ b/README.md @@ -1234,10 +1234,10 @@ Product.search_index.promote(index_name, update_refresh_interval: true) ### Queuing -Push ids of records needing reindexed to a queue and reindex in bulk for better performance. First, set up Redis in an initializer. +Push ids of records needing reindexed to a queue and reindex in bulk for better performance. First, set up Redis in an initializer. We recommend using [connection_pool](https://github.com/mperham/connection_pool). ```ruby -Searchkick.redis = Redis.new +Searchkick.redis = ConnectionPool.new { Redis.new } ``` And ask your models to queue updates. -- libgit2 0.21.0