Commit Graph
545 Commits
Author SHA1 Message Date
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
Ilan Steemers a6eda43c72 Merge pull request #428 from hhyo/hhyo-patch-1
Fix issue when using USE_TZ=False with MySQL
2020-05-27 17:49:38 +02:00
Ilan Steemers bef944af61 Merge pull request #440 from maerteijn/fix-database-router
Fix issues when using multiple databases with a database router
2020-05-27 17:48:20 +02:00
Martijn Jacobs f0546bc91c Lock the Scheduler model for the database it's using
This can happen when you use a database router for example
2020-05-01 17:30:19 +02:00
Martijn Jacobs 85a9f33ac0 Check for the right database when querying for get_autocommit 2020-05-01 17:29:27 +02:00
小圈圈 25d1e3e3a0 Fix issue when using USE_TZ=False with MySQL #353 2020-04-15 20:57:27 +08:00
Ryan Branche d7d0b0dfb4 Add unit test for sync=True change.
When sync=True, re-raise exceptions from the worker.
2020-02-28 14:47:28 -08:00
Ryan Branche 2f14c122e4 When sync=True, re-raise exceptions from the worker.
This commit adds code to detect if the task is running synchronously in
the worker and re-raise exceptions that were originally raised by the
underlying task function.
2020-02-28 14:26:20 -08:00
Ilan a6052f5a6a Getting ready for 1.2.1 2020-02-18 20:24:38 +01:00
Ilan 7c31c2408c Replaces format with f-strings 2020-02-18 18:47:05 +01:00
Ilan 0bca3cbd7a Replacing format with f-strings 2020-02-17 16:59:12 +01:00
Ilan 17c1e2b651 Getting ready for 1.2.0 2020-02-17 13:09:18 +01:00
Jason McVetta 35848cc80d fix typo 2020-02-13 18:17:00 +07:00
Jason McVetta 93a8c3520c truncate cluster_id from the other end 2020-02-12 18:56:54 +07:00
Jason McVetta aa51413d81 cast cluster_id UUID to str 2020-02-12 18:52:45 +07:00
Jason McVetta abc8b397fc Revert "wider column for cluster_id, and cast to string"
This reverts commit a37d3b7af0.
2020-02-12 18:52:25 +07:00
Jason McVetta 7f9f6c3a04 Revert "terminal position"
This reverts commit db70d14754.
2020-02-12 18:52:24 +07:00
Jason McVetta db70d14754 terminal position 2020-02-12 18:51:41 +07:00
Jason McVetta a37d3b7af0 wider column for cluster_id, and cast to string 2020-02-12 18:50:46 +07:00
Jason McVetta cb01620a5d truncate cluster_id UUID to fit column 2020-02-12 18:43:31 +07:00
Jason McVetta 4529c38067 log cluster_id instead of pid 2020-02-12 18:26:53 +07:00
Jason McVetta 14a602ee8b use both pid and cluster_id 2020-02-12 18:23:47 +07:00
Jason McVetta d22c916bfc add cluster_id to Sentinel 2020-02-12 17:53:52 +07:00
Jason McVetta ea30c1d43f add UUID4-based cluster_id 2020-02-12 17:41:10 +07:00
Djailla d8524e8d42 [py27] Remove last traces of py27 2020-01-27 17:15:10 +01:00
Kevin Lord 0d9ebf94ee Fix startup error in AWS Lambda 2020-01-20 22:39:40 -06:00
Ilan Steemers 3389e00f09 Preparing v1.1.0 2020-01-18 11:09:35 +01:00
Ilan Steemers 681375364d Merge pull request #393 from ossobv/sync
Preserve database connection when sync=True
2020-01-17 15:34:46 +01:00
Ilan Steemers 850e6e5452 Merge pull request #399 from theunraveler/ugettext
Replacing `ugettext_` functions with `gettext_` for Django 3
2020-01-17 15:32:27 +01:00
valentinogagliardi c12e6184eb add test for Redis URL 2020-01-12 20:10:06 +01:00
valentinogagliardi fa1082ff96 ability to use a Redis connection URI - closes #402 2020-01-12 13:13:41 +01:00
Jake Bell dc65f5e1de Replacing ugettext_ functions with gettext_ for Django 3 2020-01-07 15:57:37 -06:00
Harm Geerts 66588a28e7 Preserve database connection when sync=True
When tasks run synchronously django-q should only affect the calling
context by running the tasks.
Fixes https://github.com/Koed00/django-q/issues/326
2019-11-27 12:37:31 +01:00
Ilan Steemers c27938ee62 Merge pull request #333 from tremby/fix-timeout-override
Fix timeout override
2019-08-13 14:16:03 +02:00