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

22 commits

Author SHA1 Message Date
Mike Perham
4679c95f49 Upgrade to Minitest 5 2013-05-12 14:25:30 -07:00
Mike Perham
55726ca900 Add Sidekiq::Actor which provides a testable alternative to Celluloid 2013-05-10 22:12:44 -07:00
Mike Perham
c9b40def98 Remove manager test, which has proved flaky, waiting for @tarcieri to drop some actor testing wisdom 2012-08-04 12:30:49 -07:00
Mike Perham
2ec203365e Clean up timeout middleware, add client-side option [#161] 2012-04-26 08:40:07 -07:00
Mike Perham
06b6aa4d87 Terminate fetcher async'ly so it doesn't block shutdown progress 2012-04-24 19:58:52 -07:00
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