1325 Commits

Author SHA1 Message Date
Ilan Steemers
617becd9b3 Updates requirements 2020-10-26 10:58:14 +01:00
Ilan Steemers
d2e4101c91 Updates dependencies for tests 2020-10-22 16:16:46 +02:00
Ilan Steemers
6184a1c662 Merge pull request #478 from fallenhitokiri/sqs-get-queue-before-create
try to get SQS queue before creating it
2020-10-20 14:05:31 +02:00
Ilan Steemers
87390509ef Merge pull request #477 from fallenhitokiri/fix-get-broker-sqs
empty dictionary as configuration value for SQS
2020-10-20 14:04:30 +02:00
Ilan Steemers
d97e7d772f Merge pull request #479 from alx-sdv/bugs/model-str
Model.__unicode__() has no effect in Python 3.X
2020-10-20 14:01:40 +02:00
Ilan Steemers
6886c8612b Merge pull request #483 from Djailla/warning
Fix deprecation warning RemovedInDjango40Warning
2020-10-20 14:00:47 +02:00
Ilan Steemers
9219116bae Merge pull request #482 from ihuk/master
Fix for #424
2020-10-20 13:58:34 +02:00
Bastien Vallet
3144d0c80a Fix deprecation warning RemovedInDjango40Warning
RemovedInDjango40Warning: The providing_args argument is deprecated. As it is purely documentational, it has no replacement. If you rely on this argument as documentation, you can move the text to a code comment or docstring.
2020-10-19 12:12:37 +02:00
ihuk
5076367168 More work on fix for #424 - TypeError: can't pickle _thread.lock objects.
AWS and Mongo brockers should be pickeled correctly now.
2020-10-16 18:40:26 +02:00
ihuk
8b3d6b7d2a Initial work on fix for #424 - TypeError: can't pickle _thread.lock objects.
Made `Broker` and `Queue` classes pickable which fixes the the problem with new default `spawn` proces start method.
2020-10-14 22:21:40 +02:00
Ilan Steemers
22b6f8ec5a Merge pull request #481 from jagu2012/master
[WIP]Change Django documentation links and URLs to a supported version (v1.8 -> v2.2)
2020-10-07 11:26:21 +02:00
Daniel Trembath
3e8fc91d46 Change Django documentation URLs from v1.8 to v2.2
URLs were linking to a now unsupported version of Django. Django v2.2 is a LTS version, and also matches the documentation intersphinx_mapping in docs/conf.py.
2020-10-07 17:56:23 +11:00
Ilan Steemers
029fd316f4 Upgrades to Django 3.1.2 for tests 2020-10-05 12:01:18 +02:00
alx-sdv
28197dc4fa Model.__unicode__() has no effect 2020-10-05 12:30:11 +03:00
Timo Zimmermann
9be4da76c1 try to get SQS queue before creating it
In some environments permissions for an IAM role or access key might not include "SQS create".
The broker should first try to get the queue and if this fails try to create it as fall back to the current default behaviour.
2020-09-22 15:58:06 +02:00
Timo Zimmermann
73ca8edcf5 empty dictionary as configuration value for SQS
The [documentation](https://django-q.readthedocs.io/en/latest/configure.html#sqs-configuration) lists all keys as optional, but the way `get_broker` is implemented it will evaluate to false and return Redis. One way around this would be checking if the type of `Conf.SQS` is `dict`.
2020-09-22 15:42:38 +02:00
Ilan Steemers
7b4c357128 Updates test to django 3.1.1 2020-09-06 11:48:24 +02:00
Ilan Steemers
75ccc9e29a Removes testing code 2020-09-06 11:26:00 +02:00
Ilan Steemers
180e8e2d3d Updates changelog to 1.3.3 2020-08-16 19:01:20 +02:00
Ilan Steemers
aba36e2884 Getting ready for 1.3.3 2020-08-16 18:47:55 +02:00
Ilan Steemers
109d078510 Fixes doc code block 2020-08-15 10:30:35 +02:00
Ilan Steemers
80aa160d9d Merge pull request #466 from timomeara/master
Add attempt_count to limit the number of times a filed task will be re-attempted
2020-08-15 10:21:33 +02:00
Tim O'Meara
655f0aadb5 rename config var to max_retries, remove attempt_count form admin , add admin ui customization to docs 2020-08-13 11:58:00 -05:00
Ilan Steemers
c838a1e1d0 Updates requirements 2020-08-13 12:07:35 +02:00
Tim O'Meara
991cca5844 Revert "version bump"
This reverts commit 3b2f444738.
2020-08-11 17:32:48 -05:00
Tim O'Meara
3b2f444738 version bump 2020-08-11 17:32:08 -05:00
Tim O'Meara
f26de929d6 adds tests 2020-08-11 11:48:23 -05:00
Tim O'Meara
d5a0363af3 add attempt_count to admin 2020-08-11 10:48:46 -05:00
Tim O'Meara
45b0b2cc27 add attempt_count to config docs, set value to 1 in inital task save 2020-08-11 10:42:28 -05:00
Tim O'Meara
3c3395f24b add attempt_count to task 2020-08-11 10:16:31 -05:00
Ilan Steemers
07d0a8c0d1 Merge pull request #464 from Koed00/django_3_1
Updates to Django 3.1
2020-08-06 11:59:17 +02:00
Ilan Steemers
3dff5528d6 Updates to Django 3.1 2020-08-06 11:22:33 +02:00
Ilan Steemers
c1a627b7da Updates packages 2020-07-23 09:35:04 +02:00
Ilan Steemers
377f1b81f9 Updates boto 2020-07-13 17:21:32 +02:00
Ilan Steemers
2ec4b2952a Updates boto 2020-07-13 17:21:02 +02:00
Ilan Steemers
55df323a9a Updates changelog 2020-07-08 23:20:26 +02:00
Ilan Steemers
e384e0dfb8 Getting ready for 1.3.2 2020-07-08 23:02:08 +02:00
Ilan Steemers
0de1cbce4e Merge pull request #457 from Koed00/resource_limits
Resource limits: max rss for workers
2020-07-08 22:55:46 +02:00
Ilan Steemers
0095a93b45 Adds max rss test 2020-07-08 22:52:07 +02:00
Ilan Steemers
572f810651 Adds max rss test 2020-07-08 22:47:35 +02:00
Ilan Steemers
080b30396c Updates boto 2020-07-08 22:33:36 +02:00
Ilan Steemers
e7adc4ac46 Updates boto 2020-07-08 22:32:24 +02:00
Ilan Steemers
9946a1a8ce Adds max_rss to the docs 2020-07-05 18:21:51 +02:00
Ilan Steemers
c94f2cb816 Adds psutil support for max_rss on other platforms 2020-07-05 18:18:43 +02:00
Ilan Steemers
b16878f36f Allow for platforms not supporting resource module 2020-07-05 17:45:07 +02:00
Ilan Steemers
83b8b7c0d7 Adds max_rss memory limit for recycle 2020-07-05 17:04:16 +02:00
Ilan Steemers
e0beb502dd Updates packages 2020-07-04 11:47:59 +02:00
Ilan Steemers
31ab2c22c2 Adds cron to the doc index 2020-07-04 11:46:26 +02:00
Ilan Steemers
f755a2e3fa Updates changelog 2020-07-02 18:19:15 +02:00
Ilan Steemers
05a5d1f008 Getting ready for 1.3.1 2020-07-02 18:11:58 +02:00