Skip to content
Browse files

fix README to reflect proper syntax when specifying :store_config exa…

…mple
  • Loading branch information...
1 parent 3c97ba7 commit 5c025f45e75516eb3e423d877430204de914c536 @ryanlecompte ryanlecompte committed Sep 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -42,7 +42,7 @@ other threads and GirlFriday queues using the `connection\_pool` gem:
redis_pool = ConnectionPool.new(:size => 5, :timeout => 5) { Redis.new }
- CLEAN_FILTER_QUEUE = GirlFriday::WorkQueue.new(:clean_filter, :store => GirlFriday::Store::Redis, :store_config => [{ :pool => redis_pool}]) do |msg|
+ CLEAN_FILTER_QUEUE = GirlFriday::WorkQueue.new(:clean_filter, :store => GirlFriday::Store::Redis, :store_config => { :pool => redis_pool }) do |msg|
Filter.clean(msg)
end

0 comments on commit 5c025f4

Please sign in to comment.
Something went wrong with that request. Please try again.