Commit Graph
628 Commits
Author SHA1 Message Date
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 aba36e2884 Getting ready for 1.3.3 2020-08-16 18:47:55 +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
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 e384e0dfb8 Getting ready for 1.3.2 2020-07-08 23:02:08 +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 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 05a5d1f008 Getting ready for 1.3.1 2020-07-02 18:11:58 +02:00
Ilan Steemers d3ac0563f4 Adds validator migration 2020-07-02 18:09:01 +02:00
Ilan Steemers 6e4c32ca9d Getting ready for 1.3.0 2020-07-02 13:28:18 +02:00
Ilan Steemers f223cfcb30 Removing value check 2020-07-01 14:25:51 +02:00
Ilan Steemers 532199fff3 Trigger cron validation 2020-07-01 14:18:04 +02:00
Ilan Steemers e6f82c5158 test model unicode 2020-06-30 22:00:31 +02:00
Ilan Steemers b17fd24682 Test for no nodes config 2020-06-30 21:35:57 +02:00
Ilan Steemers d46d08e94e Adds qinfo ids check 2020-06-30 21:19:15 +02:00
Ilan Steemers dda0c3c44d Test get_ids 2020-06-30 20:56:11 +02:00
Ilan Steemers f0061dccd6 Moves optional import to root 2020-06-29 19:08:33 +02:00
Ilan Steemers 34293cfcad Test cron validator 2020-06-29 19:08:08 +02:00
Ilan Steemers 5fe5b5fe37 Adds cron kwarg 2020-06-29 11:38:50 +02:00
Ilan Steemers a02ded0ade Get correct type name 2020-06-28 20:24:22 +02:00
Ilan Steemers a57f7e3f89 Check for nodes 2020-06-28 20:23:56 +02:00
Ilan Steemers 5bf2cd49eb Fixes deprecation 2020-06-28 20:23:46 +02:00
Ilan Steemers 5509fbb496 Fixes test for cron 2020-06-28 19:58:03 +02:00
Ilan Steemers 1906be92fd Adds test for cron 2020-06-28 19:52:24 +02:00
Ilan Steemers 1a1597c050 Adds cron migration 2020-06-28 17:14:20 +02:00
Ilan Steemers ace3d01da7 Optional Cron expression scheduling - inital commit 2020-06-28 15:26:53 +02:00
Ilan Steemers 83daf5d260 Merge branch 'master' into type_hints 2020-06-22 20:04:48 +02:00
Edouard Theron dfea90fc4b Fix 'force_text' deprecation warning
Starting from Django 3.0, `force_text()` is deprecated in favour of `force_str()`
Ref: https://docs.djangoproject.com/en/3.0/ref/utils/#django.utils.encoding.force_text
2020-06-17 08:49:41 -05:00
Ilan Steemers 6e95dc2d9b Hints and lints 2020-06-15 16:02:14 +02:00
Ilan Steemers c8eb7ecddb Linting and hints 2020-06-14 18:48:05 +02:00
Ilan Steemers ef4c7876ae Linting and hints 2020-06-12 12:33:04 +02:00
Ilan Steemers 22dc790242 Merge pull request #447 from Djailla/cleanup
[cleanup] Few cleanup commit for linting and migrations
2020-06-10 12:19:51 +02:00
Bastien Vallet e3560180af [cleanup] Clean migrations 2020-06-10 12:01:07 +02:00
Bastien Vallet 3569d2ea8c [cleanup] Fix some linting issues 2020-06-10 12:00:55 +02:00
Bastien Vallet 68d95a2924 [cleanup] Remove python2 artifacts 2020-06-10 11:48:31 +02:00
Ilan Steemers 5d3f9fd916 Getting ready for 1.2.4 2020-06-10 11:46:50 +02:00
Ilan Steemers 142af91fbe Merge pull request #446 from Djailla/migration
Add missing migration for django-picklefield
2020-06-10 11:14:34 +02:00
Bastien Vallet ff4836fc7b Add a missing migration
Required by django-picklefield major update
2020-06-10 11:06:13 +02:00
Ilan Steemers 56982bdd26 Adding back sdist to fix issues with optional extras 2020-05-31 19:43:18 +02:00
Ilan Steemers 25b3c47e5f Getting ready for 1.2.2 2020-05-28 14:49:40 +02:00