Commit Graph
1206 Commits
Author SHA1 Message Date
Ilan Steemers 4f70793cdf Updates requirements 2021-03-26 11:25:17 +01:00
Ilan Steemers c172ca6c36 Update rtd to 3.8 2021-03-26 11:24:53 +01:00
Ilan Steemers 2405e5a1e7 Mention docker-compose test file 2021-03-21 19:13:30 +01:00
Ilan Steemers 32eab5ea41 Updates testing requirements 2021-03-21 18:57:53 +01:00
Gouri JavedandJaved Gouri e205674d31 added long polling support (#506)
* added long pooling support for  sqs broker

* changed the parameter name

* added long polling support ,

introduce new parameter in broker sqs block
parameter for long polling is receive_message_wait_time_seconds

eg :
Q_CLUSTER = {
      'name': 'test-queue',
      'sqs': {
         'aws_region': AWS_S3_REGION_NAME,
         'aws_access_key_id': AWS_ACCESS_KEY_ID,
         'aws_secret_access_key': AWS_SECRET_ACCESS_KEY,
         'receive_message_wait_time_seconds':20
     }
}

* added receive_message_wait_time_seconds parameter in test_broker.py

Co-authored-by: Javed Gouri <you@example.com>
2021-03-21 12:04:16 +01:00
weiyang 1869a94118 Use 'timezone.localtime()' when calculating the next run time (#520)
Signed-off-by: weiyang <weiyang.ones@gmail.com>
2021-03-21 12:02:22 +01:00
Ilan Steemers 840813828a Updates testing requirements 2021-03-13 17:16:04 +01:00
Ilan Steemers 515fd5cad2 Adds long description content type 2021-02-26 14:59:44 +01:00
Ilan Steemers 90140d9886 Updates changelog to 1.3.5 2021-02-26 14:50:00 +01:00
Ilan Steemers d08cf78e10 Mentions german translation 2021-02-26 14:49:25 +01:00
Ilan Steemers f2ca435e90 Updates copyright year 2021-02-26 14:48:31 +01:00
Ilan Steemers ef3cffb738 Getting ready for 1.3.5 2021-02-26 14:12:24 +01:00
Ilan Steemers 80e97e978c Updates poetry packages 2021-02-26 14:06:18 +01:00
Ilan Steemers b6d1f2a5e7 Merge remote-tracking branch 'origin/master' 2021-02-26 13:57:54 +01:00
Ilan Steemers a89238ae2c Updates blessed, boto and Django for tests 2021-02-26 13:57:45 +01:00
RubenandIlan Steemers 7892aef70a Add a warning for misconfiguration. (#509)
* Add a warning  for misconfiguration.

As specified in the docs, by default the settings result in a configuration where slow tasks that run for more than 60s cause repeated running of tasks, which has caused a few issues. This warning doesn't change the defaults, which would be a marge larger change, but instead provides a, hopefully, helpful message to the user.

* fixed missing bracket

* Update conf.py

fixed spelling

* Update conf.py

Made bool work for python 3.6+

* Fixing typo

Co-authored-by: Ilan Steemers <koed00@gmail.com>
2021-02-26 13:54:56 +01:00
Ilan Steemers 7d03536e89 Migrate to Github Action CI (#507)
* Some small refactors

* Initial test script

* Fixes django matrix

* Trying to set up Disque

* Disque as a docker service

* lowercase action name

* Remove Travis

* Replaces Travis badge with Github actions badge

* Show django version in step

* Typo
2021-02-14 18:59:04 +01:00
Ilan Steemers e2580051bc Updates testing requirements 2021-02-11 20:22:33 +01:00
Ilan Steemers d2709d707d Fixes title underline length 2021-02-11 19:16:54 +01:00
Ilan Steemers f322eed7ac Merge pull request #502 from telmobarros/master
Add broker name in Schedule and enhanced Queued Tasks list display admin
2021-02-11 17:51:32 +01:00
Telmo Barros c838fa82e4 Add broker name in Schedule docs 2021-02-11 13:04:00 +00:00
Ilan Steemers 8d75fb92f0 Merge pull request #504 from pysean3/add-health-check-example
Add example of http health check
2021-02-10 09:47:16 +01:00
Sean Fairbanks 24ac5b33f8 Add example of health check url
An example of a local python http server which returns a 200 or 500 response depending on cluster health.
2021-02-09 22:22:46 -08:00
Telmo Barros 1d6d996fd0 enhanced admin ormq panel fix and schedules with broker_name 2021-02-06 18:52:17 +00:00
Telmo Barros 10df8351ff Queued tasks admin list page enhancement 2021-02-06 17:56:03 +00:00
Ilan Steemers 6f0b24cdc4 Merge pull request #499 from jonaswinkler/german-translation
Added german translation
2021-01-15 17:35:37 +01:00
Ilan Steemers 3ded8505c1 Merge pull request #497 from MaximilianKindshofer/patch-1
Update brokers.rst
2021-01-15 17:31:30 +01:00
Jonas Winkler 11744bf33c Added german translation 2021-01-15 15:54:47 +01:00
Maximilian Kindshofer ba38e2e22c Update brokers.rst 2021-01-11 14:52:03 +01:00
Ilan Steemers 13632da35f Updates changelog to 1.3.4 2020-10-29 10:07:17 +01:00
Ilan Steemers 552af9db8c Getting read for 1.3.4 2020-10-26 10:59:13 +01:00
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