Mike Perham
a7b422af9b
Change watchdog to propagate exceptions so Sidekiq quickly dies, #1194 .
2013-09-22 14:05:29 -07:00
Jake Mack
b0286efc2b
Generate a random hex string as the process id since Process.pid is not supported on all platforms (specifically, does not work on Heroku)
2013-06-20 10:58:53 -07:00
Mike Perham
f04e1ecbec
Use core_ext for constantize and stringify_keys
2012-10-27 12:48:34 -07:00
Mike Perham
c6cb222e96
cleanup cleanup
2012-09-16 07:28:25 -07:00
Mike Perham
4cc5514755
Cleanup
2012-09-16 07:27:49 -07:00
Mike Perham
ba2470e658
Increase default expiry, fixes #385
2012-09-08 19:50:03 -07:00
Mike Perham
1d3401afd6
Fix a few more Exception leaks
2012-08-29 20:20:20 -07:00
Mike Perham
36801315d6
Rework error handling to work with watchdog
2012-08-02 20:48:49 -07:00
Mike Perham
8c9f960a68
Prefer Sidekiq.logger, inject message context into all working logging
2012-05-15 19:44:35 -07:00
Mike Perham
81458138dd
24 -> 1 hr
2012-05-12 14:02:32 -07:00
Mike Perham
2561cbcd66
Initial pass at getting a worker logger. Not quite happy with the API yet.
2012-05-12 14:00:42 -07:00
Mike Perham
7c3be2d81b
Rename constant, fixes #191
2012-05-12 13:32:16 -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
74d0e5ec35
Upgrade to connection_pool 0.9.0
...
Remove all connection_pool usage of method_missing.
Change Sidekiq.redis API to require a block.
2012-03-14 09:56:13 -07:00
Mike Perham
8345a196c0
Remove PID hackery, GH-22
2012-03-06 20:18:16 -08:00
Mike Perham
9c22f8d159
Redirect stderr to logfile also, use nohup [ fixes #64 ]
2012-02-29 20:50:18 -08:00
Mike Perham
bf377d44e8
Better logging, fixes GH-55
2012-02-25 13:43:53 -08:00
Mike Perham
00501031df
One redis accessor to rule them all.
2012-02-17 13:39:36 -08:00
Mike Perham
2c83b74f27
Process.pid does not work on Heroku, #22
2012-02-15 12:30:31 -08:00
Mike Perham
b210dd788c
Update Sidekiq logging to use standard Ruby logger
2012-02-14 09:00:26 -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
f89eedf326
Add new sidekiq/testing feature.
...
This makes job processing synchronous when required.
2012-02-09 21:46:44 -08:00
Ryan LeCompte
1a028c4a2f
introduce middleware for cleanup of encoded payloads
2012-02-07 17:18:28 -08:00
Mike Perham
92c51c5785
Add full multithreaded integration test for manager
2012-02-03 10:02:57 -08:00
Mike Perham
922d5f8dbe
Add Sidekiq::Processor testing, with bug fixes
2012-01-26 12:45:04 -08:00
Mike Perham
5366506fe1
Server starts up now!
2012-01-22 16:01:46 -08:00
Mike Perham
3b8b655807
worker mgmt and msg dispatch
2012-01-22 11:32:38 -08:00