Mike Subelsky
0622ac3192
extract error handling middleware into processor-level code
2012-07-31 14:30:34 -04:00
Mike Perham
d47873a4d9
remove old middleware testing
2012-07-20 20:14:32 -07:00
Mike Perham
7a45208cf0
Defer loading message JSON until a full stack is available.
2012-06-21 20:51:47 -07:00
Mike Perham
8adba07887
Simplify middleware testing
2012-03-17 17:59:18 -07:00
Mike Perham
5ec8ac08b0
Test suite cleanup
2012-03-17 13:32:52 -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
6af6a86369
Refactor middleware API, this will break anyone using the old API.
...
e.g.
Sidekiq::Processor.middleware => Sidekiq.server_middleware
Sidekiq::Client.middleware => Sidekiq.client_middleware
2012-02-18 12:12:05 -08:00
Mike Perham
00501031df
One redis accessor to rule them all.
2012-02-17 13:39:36 -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
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
f89eedf326
Add new sidekiq/testing feature.
...
This makes job processing synchronous when required.
2012-02-09 21:46:44 -08:00
Mike Perham
a1f78816a7
Implement generic Ruby support via simple require flag
...
Various cleanups
It's "assert_equal(expected, actual)"
2012-02-09 20:32:59 -08:00
Ryan LeCompte
2399d13dbb
add tests for non-yielding middleware
2012-02-08 17:28:12 -08:00
Ryan LeCompte
c3609d6d48
refactor middleware into client/server layers
2012-02-08 17:04:02 -08:00
Ryan LeCompte
1a028c4a2f
introduce middleware for cleanup of encoded payloads
2012-02-07 17:18:28 -08:00
Ryan LeCompte
144bc904cf
rework how middleware chain is invoked, add middleware tests and cleanup
2012-02-04 21:45:34 -08:00