<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/rq.git/tests/test_worker.py, branch python3.8</title>
<subtitle>github.com: nvie/rq.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/'/>
<entry>
<title>worker.work() should be tested with burst=True</title>
<updated>2020-06-07T11:09:17+00:00</updated>
<author>
<name>Selwin Ong</name>
<email>selwin.ong@gmail.com</email>
</author>
<published>2020-06-07T11:09:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=a1ee46688292617213233786bc44056e1a2b1a76'/>
<id>a1ee46688292617213233786bc44056e1a2b1a76</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement Customizable Serializer Support (#1219)</title>
<updated>2020-04-16T12:53:48+00:00</updated>
<author>
<name>Babatunde Olusola</name>
<email>solababatunde12@gmail.com</email>
</author>
<published>2020-04-16T12:53:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=e1cbc3736c55d7a72be121a170d1b8c811619dc2'/>
<id>e1cbc3736c55d7a72be121a170d1b8c811619dc2</id>
<content type='text'>
* Implement Customizable Serializer Support

* Refractor serializer instance methods

* Update tests with other serializers

* Edit function description

* Edit function description

* Raise appropriate exception

* Update tests for better code coverage

* Remove un-used imports and un-necessary code

* Refractor resolve_serializer

* Remove un-necessary alias from imports

* Add documentation

* Refractor tests, improve documentation</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Implement Customizable Serializer Support

* Refractor serializer instance methods

* Update tests with other serializers

* Edit function description

* Edit function description

* Raise appropriate exception

* Update tests for better code coverage

* Remove un-used imports and un-necessary code

* Refractor resolve_serializer

* Remove un-necessary alias from imports

* Add documentation

* Refractor tests, improve documentation</pre>
</div>
</content>
</entry>
<entry>
<title>fixing HerokuWorkerShutdownTestCase after #1194 (#1213)</title>
<updated>2020-03-09T12:09:42+00:00</updated>
<author>
<name>Samuel Colvin</name>
<email>s@muelcolvin.com</email>
</author>
<published>2020-03-09T12:09:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=403647120348f3216fc423e70c7045cf3ebef752'/>
<id>403647120348f3216fc423e70c7045cf3ebef752</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a hard kill from the parent process with a 10% increased timeout … (#1169)</title>
<updated>2020-01-19T11:31:06+00:00</updated>
<author>
<name>mr-trouble</name>
<email>39416610+mr-trouble@users.noreply.github.com</email>
</author>
<published>2020-01-19T11:31:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=5f949f4cefed67de2554ef8dfc08bd62142a52a4'/>
<id>5f949f4cefed67de2554ef8dfc08bd62142a52a4</id>
<content type='text'>
* Add a hard kill from the parent process with a 10% increased timeout in case the forked process gets stuck and cannot stop itself.

* Added test for the force kill of the parent process.

* Changed 10% to +1 second, and other misc changes based on review comments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add a hard kill from the parent process with a 10% increased timeout in case the forked process gets stuck and cannot stop itself.

* Added test for the force kill of the parent process.

* Changed 10% to +1 second, and other misc changes based on review comments.
</pre>
</div>
</content>
</entry>
<entry>
<title>Job scheduling (#1163)</title>
<updated>2020-01-04T03:14:52+00:00</updated>
<author>
<name>Selwin Ong</name>
<email>selwin.ong@gmail.com</email>
</author>
<published>2020-01-04T03:14:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=baa0cc268adff31f22e0278e2c76cf26c5a2d14c'/>
<id>baa0cc268adff31f22e0278e2c76cf26c5a2d14c</id>
<content type='text'>
* First RQScheduler prototype

* WIP job scheduling

* Fixed Python 2.7 tests

* Added ScheduledJobRegistry.get_scheduled_time(job)

* WIP on scheduler's threading mechanism

* Fixed test errors

* Changed scheduler.acquire_locks() to instance method

* Added scheduler.prepare_registries()

* Somewhat working implementation of RQ scheduler

* Only call stop_scheduler if there's a scheduler present

* Use OSError rather than ProcessLookupError for PyPy compatibility

* Added `auto_start` argument to scheduler.acquire_locks()

* Make RQScheduler play better with timezone

* Fixed test error

* Added --with-scheduler flag to rq worker CLI

* Fix tests on Python 2.x

* More Python 2 fixes

* Only call `scheduler.start` if worker is run in non burst mode

* Fixed an issue where running worker with scheduler would fail sometimes

* Make `worker.stop_scheduler()` more resilient to errors

* worker.dequeue_job_and_maintain_ttl() should also periodically run maintenance tasks

* Scheduler can now work with worker in both burst and non burst mode

* Fixed scheduler logging message

* Always log scheduler errors when running

* Improve scheduler error logging message

* Removed testing code

* Scheduler should periodically try to acquire locks for other queues it doesn't have

* Added tests for scheduler.should_reacquire_locks

* Added queue.enqueue_in()

* Fixes queue.enqueue_in() in Python 2.7

* First stab at documenting job scheduling

* Remove unused methods

* Remove Python 2.6 logging compatibility code

* Remove more unused imports

* Added convenience methods to access job registries from queue

* Added test for worker.run_maintenance_tasks()

* Simplify worker.queue_names() and worker.queue_keys()

* Updated changelog to mention RQ's new job scheduling mechanism.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* First RQScheduler prototype

* WIP job scheduling

* Fixed Python 2.7 tests

* Added ScheduledJobRegistry.get_scheduled_time(job)

* WIP on scheduler's threading mechanism

* Fixed test errors

* Changed scheduler.acquire_locks() to instance method

* Added scheduler.prepare_registries()

* Somewhat working implementation of RQ scheduler

* Only call stop_scheduler if there's a scheduler present

* Use OSError rather than ProcessLookupError for PyPy compatibility

* Added `auto_start` argument to scheduler.acquire_locks()

* Make RQScheduler play better with timezone

* Fixed test error

* Added --with-scheduler flag to rq worker CLI

* Fix tests on Python 2.x

* More Python 2 fixes

* Only call `scheduler.start` if worker is run in non burst mode

* Fixed an issue where running worker with scheduler would fail sometimes

* Make `worker.stop_scheduler()` more resilient to errors

* worker.dequeue_job_and_maintain_ttl() should also periodically run maintenance tasks

* Scheduler can now work with worker in both burst and non burst mode

* Fixed scheduler logging message

* Always log scheduler errors when running

* Improve scheduler error logging message

* Removed testing code

* Scheduler should periodically try to acquire locks for other queues it doesn't have

* Added tests for scheduler.should_reacquire_locks

* Added queue.enqueue_in()

* Fixes queue.enqueue_in() in Python 2.7

* First stab at documenting job scheduling

* Remove unused methods

* Remove Python 2.6 logging compatibility code

* Remove more unused imports

* Added convenience methods to access job registries from queue

* Added test for worker.run_maintenance_tasks()

* Simplify worker.queue_names() and worker.queue_keys()

* Updated changelog to mention RQ's new job scheduling mechanism.
</pre>
</div>
</content>
</entry>
<entry>
<title>Store worker's RQ and Python versions (#1125)</title>
<updated>2019-10-08T02:46:06+00:00</updated>
<author>
<name>Vladimir Protasov</name>
<email>eoranged@users.noreply.github.com</email>
</author>
<published>2019-10-08T02:46:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=8c34e2b353a53971c2390f0ab84ffeba3cb2b8b3'/>
<id>8c34e2b353a53971c2390f0ab84ffeba3cb2b8b3</id>
<content type='text'>
* Store worker version to Redis

* Store worker's Python version to Redis

* Store worker version in __init__ body as suggested in review
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Store worker version to Redis

* Store worker's Python version to Redis

* Store worker version in __init__ body as suggested in review
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix unreliable test (#1126)</title>
<updated>2019-09-08T11:09:12+00:00</updated>
<author>
<name>Vladimir Protasov</name>
<email>eoranged@users.noreply.github.com</email>
</author>
<published>2019-09-08T11:09:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=b62b9b0727eb7f6526a6842df1dee7b463729e1d'/>
<id>b62b9b0727eb7f6526a6842df1dee7b463729e1d</id>
<content type='text'>
Also make error message more useful in case of future failures.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also make error message more useful in case of future failures.</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed test errors caused by _sentry_trace_headers</title>
<updated>2019-07-20T10:39:07+00:00</updated>
<author>
<name>Selwin Ong</name>
<email>selwin.ong@gmail.com</email>
</author>
<published>2019-07-20T10:39:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=d1813cdff9b0b07641c94e62370c8778c4e8f740'/>
<id>d1813cdff9b0b07641c94e62370c8778c4e8f740</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added logging statements to handle_job_success and handle_job_failure (#1112)</title>
<updated>2019-06-22T09:42:05+00:00</updated>
<author>
<name>Selwin Ong</name>
<email>selwin.ong@gmail.com</email>
</author>
<published>2019-06-22T09:42:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=f9d42e8a177eb4356cc5dc29de6a4f410127ed1f'/>
<id>f9d42e8a177eb4356cc5dc29de6a4f410127ed1f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add the ability to have the worker stop executing after a max amount of jobs (#1094)</title>
<updated>2019-06-12T14:07:09+00:00</updated>
<author>
<name>Paul Robertson</name>
<email>t.paulrobertson@gmail.com</email>
</author>
<published>2019-06-12T14:07:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=e1c135d4deece853596a15a7d9bc0f218f6f9560'/>
<id>e1c135d4deece853596a15a7d9bc0f218f6f9560</id>
<content type='text'>
* add the ability to have the worker stop executing after a max amount of jobs

* rename to max-jobs

* updated logging messages
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* add the ability to have the worker stop executing after a max amount of jobs

* rename to max-jobs

* updated logging messages
</pre>
</div>
</content>
</entry>
</feed>
