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
29dca70e24
Introduce Sidekiq::Capsule (#5487)
* Initial work on Sidekiq::Config

* Initial work on Sidekiq::Config

* reduce dependencies in deploy marks

* bare sidekiq and webapp

* Modify runtime to work with Capsules

* Cleanup

* Rename test files to remove test_ prefix

* Update test suite and standard rules to be more compliant

* Move constant definition outside code, per standard formatting

* Loads of changes for introduction of Capsules

* Remove Redis adapter abstraction

* update capsule overview

* Ensure Sidekiq.redis uses the correct pool for jobs running within a Capsule

* Use default_capsule for safety

* Slow down the beat to halve its Redis overhead

* move config fixtures into cfg/

* Add capsule middleware test

* use accessor
2022-08-25 10:15:11 -07:00
Mike Perham
67daa7a408
Prepare for upcoming Sidekiq::Config redesign (#5340)
* Prepare for upcoming Sidekiq::Config redesign

Adjust the server internals to use a config object rather than refering directly to the Sidekiq module.
2022-05-31 13:37:31 -07:00
Mike Perham
5776c7ae87 standard:fix the testsuite codebase, no functional changes 2022-03-03 12:51:10 -08:00
Mike Perham
e7d154eeb5 Remove "worker" from codebase where possible 2022-03-03 12:37:25 -08:00
Mike Perham
285d6541a5 Log poor Redis RTT, fixes #4824 2021-02-22 15:48:38 -08:00
Mike Perham
3b5ae30c4e Add process RSS to the Busy page, fixes #4717 2020-10-14 15:11:40 -07:00
Mike Perham
60bb816235 merge master 2019-03-01 13:37:04 -08:00
Mike Perham
653c58f646 merge master 2019-03-01 13:26:21 -08:00
Mike Perham
85a1be3684 Switch all tests to use Minitest::Spec for consistency 2019-02-28 12:43:50 -08:00
Andrew Babichev
6ac6ed5060 Move proctitle from cli to launcher (#4067) 2018-12-30 12:15:21 -08:00
Mike Perham
30bbd13a5e Update tests so they all run standalone successfully, like so:
for i in test/test_* ; do ruby $i; done
2018-12-03 14:09:26 -08:00
Andrew Babichev
ddb0c8b3a8 Cleanup CLI (#4026)
* Refactor CLI test

Extracted 3 main parts:
- parse
- run
- signal handling

* Move demonization and pid write from parse to run phase

* Move queues default from validate to setup options phase

* Add pry-byebug gem

* Drop Sidekiq::Test

* Require launcher in CLI

* Remove TODOs
2018-12-03 13:24:37 -08:00
Matt Books
927680cae7 Use a mutex to synchronize access to shared WORKER_STATE hash (#3959)
On jruby, the Hash implementation is not threadsafe, and leads to jobs not being
deleted from the busy list.

See #3958
2018-09-11 09:53:52 -07:00
Mike Perham
2367bc19c1 Rewrite heartbeat so we can dynamically update tags/labels, #2867 2016-11-25 13:39:22 -08:00
Mike Perham
008f1feff3 Add event when a process has a new heartbeat 2016-08-12 12:34:41 -07:00
Mike Perham
a2bdb875fe Fix memory leak, bump version 2016-05-04 14:43:15 -05:00
Mike Perham
2c9f7662fc Freeze all string literals in source, fixes #2741
Tests pass and smoke test works perfectly.
2015-12-31 15:33:35 -08:00
Mike Perham
9fc8267848 Move proctitles into CLI, so they can be accessed in startup events 2015-10-12 09:43:51 -07:00
Mike Perham
da02fcb6a7 Cleanup, tests passing 2015-10-08 09:37:37 -07:00
Mike Perham
89a1914d45 Fix tests 2015-10-07 15:01:44 -07:00
Mike Perham
4781be562f Tests passing again 2015-10-06 14:05:46 -07:00
Mike Perham
48546fdae9 WIP manager and launcher 2015-10-06 12:43:01 -07:00