Brandon Hilkert
9ce4fec043
Remove info for new stats API.
2012-12-04 17:11:12 -05:00
Brandon Hilkert
7719effdee
Add size back.
2012-12-04 16:52:40 -05:00
Brandon Hilkert
005c868d2c
Add Stats API.
2012-12-04 16:52:39 -05:00
Mike Perham
110cc1dc42
Update Celluloid API usage, use .async, fixes #500
2012-11-03 19:56:06 -07:00
Tyson Tate
08f54d1e11
Remove unused variables in tests.
2012-10-30 23:26:32 -07:00
Tyson Tate
2f357073b7
Make queues_with_sizes test more reliable.
...
Because Sidekiq only sorts on the count and not the queue name, the test can
sometimes fail due to "bar" and "baz" being transposed. This commit ensures a
predictable ordering in tests.
2012-10-30 23:21:40 -07:00
jc00ke
8ec7e23a74
Reimplement Sidekiq.size
2012-09-03 22:59:16 -07:00
jc00ke
49fd8e1dd6
Ditch Sidekiq.queues_with_sizes
2012-09-03 22:41:32 -07:00
jc00ke
1b8d31b17a
Switch to Sidekiq.info
...
Working on pipelining as much as possible.
2012-09-03 22:38:51 -07:00
jc00ke
c93a75802c
Implement Sidekiq::Stats.size
...
Useful for other libraries, like hirefire.
Implemented specifically to clean up a6de8329.
Will close #386 when merged.
2012-09-03 12:36:38 -07:00
jc00ke
0b2a6e9e2d
Implement Sidekiq::Stats.backlog
2012-09-03 12:19:01 -07:00
jc00ke
7845b5b357
Implement Sidekiq::Stats.queues_with_sizes
2012-09-03 12:12:51 -07:00
jc00ke
7574bb1756
Implement Sidekiq::Stats.failed
2012-09-03 10:43:08 -07:00
jc00ke
ec4833b0da
Implement Sidekiq::Stats.processed
2012-09-03 10:42:34 -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
847a6dbde8
Remove unnecessary resque stat, #189
2012-05-12 13:23:23 -07:00
Mike Perham
4146ad8244
Fix minitest 3.0, fixes #187
2012-05-11 22:09:42 -07:00
Mike Perham
7ec820e9cc
Add 24 hr expiry, only register workers while working [ #156 ]
...
Future work will use redis zsets to heartbeat Sidekiq processes
2012-04-24 07:15:29 -07:00
Mike Perham
92c61e7601
Cap fix, fixes #106
2012-04-03 20:00:20 -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
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
b9bb5b7699
Fix issue with workers stat set
2012-02-10 23:32:42 -08:00
Mike Perham
23651d5196
First pass at Resque-compatible processing stats
2012-02-10 23:16:12 -08:00