Commit Graph
650 Commits
Author SHA1 Message Date
Eagllus 9c39546417 Change imports signing classes explicit 2018-03-13 09:22:09 +01:00
Eagllus ae9392137c Change path location of django q 2018-03-13 09:21:01 +01:00
Balletie 03abbc960f Add option for acknowledging failed tasks (globally and per-task)
If a task fails with an exception, it is retried until it
succeeds. This is contrary to what is said in the documentation: under
the "Architecture" section, heading "Broker" it says that even when a
task errors, it's still considered a successful delivery. Failed tasks
never get acknowledged however, thereby being retried after the
timeout period. See also issues #238 and #194.

This patch adds an option to acknowledge failures, thereby closing
issue #238. Issue #194 would require some more work. The default of
this option is set to `False`, thereby maintaining backwards
compatibility.
2018-03-09 22:09:46 +01:00
ilan 5969be9e0c Linting 2018-02-20 14:06:23 +01:00
ilan 1f910f5233 v0.9.2 2018-02-13 09:47:34 +01:00
Ilan Steemers 3ba32a32ae Merge pull request #292 from Eagllus/fix_python3_only_code
Fix python3 only code
2018-02-12 16:09:21 +01:00
Eagllus 3f6c0f76a6 Fix super call to work with Python 2.x 2018-02-06 12:10:17 +01:00
Eagllus 0a2aed38d2 Fix Python3 only code.
Thanks to @P-EB for providing the solution
2018-02-06 11:17:09 +01:00
ilan 67ba25119a Version 0.9.1 2018-02-02 10:26:43 +01:00
Eagllus 904daeeddc Fix urls being escaped by admin 2018-01-29 08:45:02 +01:00
Sander van de Graaf 17ea1e7a7b Allow SQS to use environment variables 2018-01-09 13:03:51 +01:00
ilan e22546672e Updates version and docs 2018-01-08 15:33:04 +01:00
Ilan Steemers f353daca53 Merge branch 'django_2_compat' into django_2_compat 2018-01-08 10:53:49 +01:00
ilan 81d4b36b1b Cherry picking compatibility commits 2018-01-08 09:57:20 +01:00
Daniel Welch 98aa75faf1 fix usage of iter_entry_points 2018-01-08 09:45:10 +01:00
Ronald van Zon 5eaa700866 Reverting core_signing to the old way.
By reverting django.core.signing to Django 1.11.8 version Django-Q works
This is not designed as a 'good' solution just to show where I think the
problem is.
2017-12-13 14:49:07 +01:00
Ronald van Zon dd4f02f122 Add custom SharedCounter / Queue
This will not fix anything related to Django 2.0 but will allow MAC
users to run Django-Q allowing tests to be run locally.
2017-12-13 14:36:12 +01:00
Ronald van Zon a4086bffd7 Update MIDDLEWARE_CLASSES to represent new style.
In Django 1.10 MIDDLEWARE_CLASSES is set to deprecated and is removed in Django 2.0.
The SessionAuthenticationMiddleware is also removed from Django 2.0 and was already
unconditionally enabled in Django 1.10.
2017-12-12 15:29:12 +01:00
Ronald van Zon 805390fb9e Remove include for admin site urls 2017-12-12 15:09:03 +01:00
Daniel Welch c6466868d8 fix usage of iter_entry_points 2017-12-07 18:30:54 -05:00
Adam Chidlow bebe1ba64f Django 2.0 compatibility
- django.core.urlresolvers -> django.urls
- fix major/minor version detection
2017-11-01 18:23:14 +08:00
ilan 6779074023 Bumps version to 0.8.1 2017-10-12 15:52:49 +02:00
Ilan Steemers 56c643fc15 Merge pull request #261 from danielwelch/error-reporter
Error reporter
2017-10-10 21:48:01 +02:00
ilan 8a7567bc77 Replaces some relative imports 2017-10-10 12:13:33 +02:00
Gaël Chardon 3d2099f48c Use 32 bits integer for repeat field instead of small integer (16 bits) to avoid overflow with frequent scheduled tasks 2017-10-09 11:30:47 +02:00
Daniel Welch 4530b05d86 putting back support for backwards compatibility 2017-10-06 13:26:43 -04:00
Daniel Welch cd038f6f61 remove old rollbar stuff from config 2017-10-03 17:08:26 -04:00
Daniel Welch f90c4f5747 merge conflict resolution 2017-10-03 16:55:28 -04:00
Benjamin Bach 5ea55e3718 Import python3 version of range 2017-07-09 21:44:25 +02:00
Benjamin Bach ab48bad0f6 Remove unused dependency and sys module patching 2017-07-09 21:14:08 +02:00
ilan d92f54240a Merge branch 'Aninstance-master' 2017-04-05 16:49:15 +03:00
ilan e84422530b Fixes merge conflicts 2017-04-05 16:44:21 +03:00
Ilan Steemers f3ae8a86dc Merge pull request #148 from xoxzo/log-enqueue-id
Log id returned by broker
2017-04-05 16:31:55 +03:00
Ilan Steemers 07cc06d1f0 Merge pull request #220 from abompard/signals
Adds basic signals
2017-04-05 16:28:05 +03:00
ilan 81fdfa6abe Updates version and supported versions 2017-04-05 14:43:44 +03:00
ilan 79c4b5bb7e removing sqs tests 2017-04-05 13:43:10 +03:00
ilan f057ca94ca Skip SQS test for now 2017-04-05 13:31:30 +03:00
ilan 7c28b16adb Skip SQS test for now 2017-04-05 13:24:03 +03:00
ilan eae1bcf283 Checks if SQS is retrying in time 2017-04-05 13:12:17 +03:00
ilan 8c6058003f removes false assert for now 2017-04-05 13:03:55 +03:00
ilan 1983a523fc Pause on dequeue for sqs 2017-04-05 12:56:40 +03:00
Niels Lemmens 81b3e9c6ec Add django 1.11 to the import check 2017-04-05 10:44:06 +02:00
Daniel Welch c82ef6a177 fixing export from conf 2017-03-30 22:12:31 -04:00
Daniel Welch aac6984ec3 replace rollbar reporting with generic error_reporter reporting in cluster.py 2017-03-30 22:02:31 -04:00
Daniel Welch 9e97d48012 registering entry points for sentry and rollbar plugins, maintained in seperate repos. start of a generic error handling implementation 2017-03-30 21:51:57 -04:00
Aurélien Bompard 77c5bb0737 Add signals
Fixes #219
2017-03-03 14:25:04 +01:00
Yann Pomarede bbd2e82fd4 fix race condition in orm broker 2016-12-05 18:40:04 +01:00
Yann Pomarede 78b997e88f fix typo 2016-12-05 14:58:42 +01:00
Yann Pomarede aa667b40d4 daemonize_workers option 2016-12-05 14:55:42 +01:00
yannpom 3b8199cb8f set daemon to False 2016-12-05 12:21:41 +01:00