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

37 commits

Author SHA1 Message Date
Mike Perham
c5d8a89054 Increase delta for jruby, #1898 2014-08-13 08:51:26 -07:00
Mike Perham
af317973dd Fix tests 2014-08-11 10:26:53 -07:00
Mike Perham
2df52bb3bd fix specs 2014-06-11 20:51:24 -07:00
Mike Perham
7306c39b21 better test title 2014-05-17 21:13:15 -07:00
Mike Perham
1fd3c0bb50 fix another test race condition 2014-05-17 20:56:48 -07:00
Mike Perham
c49e1f9ab7 Fix issues with non-deterministic global test state 2014-05-17 15:55:21 -07:00
Mike Perham
2e1af86473 REALLY fix build 2014-05-13 14:13:31 -07:00
Dmitry Krasnoukhov
1770c74954 Switch to original proctitle better while testing 2014-04-14 13:44:08 +03:00
Dmitry Krasnoukhov
bd59becebd Do not stop heartbeat even when manager is already stopped
* Heartbeat should never stop (discussion: ba8c8a57b9 (commitcomment-5996837))
* Test that heartbeat stores data in Redis with ttl
2014-04-14 13:33:50 +03:00
Dmitry Krasnoukhov
473de4da8f Indicate in procline that manager have stopped 2014-04-14 01:31:41 +03:00
Ryan Davis
b531d4ce10 Use Object.new for "any old object" in tests.
I don't have this project set up for testing, so I'm submitting for travis to test it for me.
2013-12-10 15:33:53 -08:00
Jonathan Hyman
5bcda3e5f1 Groundwork for transfering reliable fetch working queue back to public queue on graceful shutdown. 2013-11-21 06:09:30 -05:00
Mike Perham
babfdc96c5 Backport test suite to Minitest 4 so we can test against Rails 4. 2013-09-22 14:38:33 -07:00
Mike Perham
a7b422af9b Change watchdog to propagate exceptions so Sidekiq quickly dies, #1194. 2013-09-22 14:05:29 -07:00
Mike Perham
5635d4fbc6 Update Launcher to monitor the core Actors, #1194 2013-09-21 17:05:33 -07:00
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