rq/tests
Michael Hill f4602d30d5
Cross platform simple worker (#1629)
* Added CrossPlatformDeathPenalty that doesn't rely on signals

* Updated `SimpleWorker`'s `death_penalty_class` to utilize `CrossPlatformDeathPenalty` to allow use on Windows machines

* Changed `CrossPlatformDeathPenalty` to `TimerDeathPenalty`

* Removed overridden `death_penalty_class` in `SimpleWorker` until feature matures

* Added section in testing.md explaining how to utilize `SimpleWorker` on Windows OS

* Replaced usage of chatting with .format for python 3.5 compatibility

* Add tests for new timeout feature

* Explicitly set defaults.CALLBACK_TIMEOUT

* Implemented cross-thread method of raising errors by using ctypes

* Finished writing tests for new TimerDeathPenalty
2022-03-10 08:04:24 +07:00
..
config_files RQ v1.0! (#1059) 2019-03-30 09:13:56 +07:00
ssl_config Fix RQScheduler when run with SSL connection (#1383) 2020-11-27 07:27:30 +07:00
Dockerfile Docker (#1471) 2021-06-12 11:51:11 +07:00
__init__.py Success and failure callbacks (#1480) 2021-06-22 10:30:46 +07:00
fixtures.py Success and failure callbacks (#1480) 2021-06-22 10:30:46 +07:00
test.json Allows enqueueing by the cli (#1466) 2021-08-20 13:43:06 +07:00
test_callbacks.py call callbacks and prepare job when running sync (#1599) 2021-12-07 17:20:36 +07:00
test_cli.py Main worker should use zadd(xx=True) to update heartbeat. (#1550) 2021-08-26 19:16:52 +07:00
test_commands.py Respect serializer (#1538) 2021-08-24 07:40:29 +07:00
test_connection.py Fixes Job.fetch when return value is unpickleable (#1184) 2020-01-31 19:28:32 +07:00
test_decorator.py job decorator allow on_failure and on_success parameters (#1626) (#1628) 2022-03-02 08:20:30 +07:00
test_fixtures.py Multidependencies (#1397) 2021-02-02 18:22:15 +07:00
test_helpers.py Restored the ability to specify connection params in config 2015-02-23 17:28:51 +07:00
test_job.py Fixed wrong keys used to WATCH dependencies (#1605) 2022-01-03 10:44:42 +07:00
test_queue.py Add missing functionality for CanceledJobRegistry (#1560) 2021-09-13 18:48:57 +07:00
test_registry.py Add missing functionality for CanceledJobRegistry (#1560) 2021-09-13 18:48:57 +07:00
test_retry.py Make unstable tests more stable (#1523) 2021-08-03 08:00:49 +07:00
test_scheduler.py Add more tolerance to scheduler heartbeat (#1555) 2021-09-07 13:03:22 +07:00
test_sentry.py Replace enum function with internal Enum class (#1459) 2021-05-07 11:10:46 +07:00
test_serializers.py Use pickle.HIGHEST_PROTOCOL by default (#1254) 2020-05-16 17:42:07 +07:00
test_timeouts.py Cross platform simple worker (#1629) 2022-03-10 08:04:24 +07:00
test_utils.py Python 3.10 compatibility (#1563) 2021-10-07 15:55:25 +07:00
test_worker.py rq.worker: remove useless set_state call in horse (#1618) 2022-02-13 16:15:07 +07:00
test_worker_registration.py clean_worker_registry cleans in batches to prevent submitting too muc… (#1390) 2021-01-09 10:12:51 +07:00