Skip to content

Commit

Permalink
fix README to reflect proper syntax when specifying :store_config exa…
Browse files Browse the repository at this point in the history
…mple
  • Loading branch information
ryanlecompte committed Sep 26, 2011
1 parent 3c97ba7 commit 5c025f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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

Expand Down

0 comments on commit 5c025f4

Please sign in to comment.