1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
Commit graph

15 commits

Author SHA1 Message Date
Mike Perham
a242600a08 Split configuration into configure_server and configure_client blocks. 2012-02-20 09:46:28 -08:00
Mike Perham
8ee8137caa Refactor options to be globally available for things like
connection pool sizing.
2012-02-19 13:05:19 -08:00
Mike Perham
0a9a12cee8 Redis should be auto-initialized without any configuration on the client-side 2012-02-17 13:52:24 -08:00
Mike Perham
f9af66edd7 Rework redis connections so that the manager and
the client use separate pools.

This is so the Rails app Sidekiq::Client and 
Sidekiq::Manager can use different configurations.

Also, fix issue where workers were not unregistered
in Redis upon shutdown.
2012-02-11 13:14:03 -08:00
Mike Perham
23651d5196 First pass at Resque-compatible processing stats 2012-02-10 23:16:12 -08:00
Ryan LeCompte
12d95dde6c fix merge conflicts 2012-02-09 22:04:22 -08:00
Ryan LeCompte
19527698c9 minor cleanup of RedisConnection 2012-02-09 22:03:05 -08:00
Ryan LeCompte
3fdb26b4db minor cleanup of RedisConnection 2012-02-09 22:00:40 -08:00
Mike Perham
f89eedf326 Add new sidekiq/testing feature.
This makes job processing synchronous when required.
2012-02-09 21:46:44 -08:00
Max Spransy
7fc2601421 replace redis connection temp var with accessor 2012-02-09 13:46:30 -06:00
Max Spransy
7813cc1cb6 remove unneeded namespace setter 2012-02-09 10:27:06 -06:00
Max Spransy
e1ce920b15 set redis namespace only in initializer 2012-02-09 10:27:00 -06:00
Max Spransy
7e6e4ef264 Add default redis url in redis_connection as fallback 2012-02-09 10:27:00 -06:00
Max Spransy
166d256b45 fix unnasigned instance variable warnings 2012-02-09 10:27:00 -06:00
Max Spransy
c34ec108a4 Move redis connection logic into class. Add support for namespaces via redis-namespace gem 2012-02-09 10:26:43 -06:00