Mike Perham
2080412119
Client API update:
...
- Add API for configuring options per Worker class
- Removed the Client API issues preventing it working on Ruby 1.8
- Cleanups to various APIs for upcoming 1.0 release.
2012-04-01 19:53:45 -07:00
Mike Perham
ee42be39e0
API cleanup, remove deprecations
2012-03-28 19:16:54 -07:00
Mike Perham
2206ce7654
RedisConnection was only ever creating one Redis connection, even when pooled. Oops.
2012-03-13 21:19:46 -07:00
Mike Perham
0973245909
Redis connection API change
...
old: Sidekiq.redis = Sidekiq::RedisConnection.create(:namespace => 'foo')
new: Sidekiq.redis = { :namespace => 'foo' }
2012-03-01 13:41:12 -08:00
Mike Perham
00501031df
One redis accessor to rule them all.
2012-02-17 13:39:36 -08:00
jc00ke
ea8c9f72b5
Standardize on concurrency, not processor_count
2012-02-16 09:45:55 -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
a8226227c4
Update testing infrastructure
2012-02-10 20:30:14 -08:00
Mike Perham
fd46c5471a
Client workers can now define associated queue
...
Configure client middleware chain by default
Middleware entries should be unique
Change client#push to return boolean based on pushed or not.
2012-02-10 20:20:01 -08:00
Mike Perham
69b00cfe50
Minimize annoying warnings
2012-02-09 22:33:36 -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
c34ec108a4
Move redis connection logic into class. Add support for namespaces via redis-namespace gem
2012-02-09 10:26:43 -06:00
Ryan LeCompte
62045af3d5
add unique payloads support, addresses issue #4
2012-02-07 03:29:09 -08:00
Ryan LeCompte
2d42f3df42
use TimedQueue from connection_pool
2012-02-06 22:35:14 -08:00
Mike Perham
92c51c5785
Add full multithreaded integration test for manager
2012-02-03 10:02:57 -08:00