Commit Graph
415 Commits
Author SHA1 Message Date
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
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
Harm Geerts cf37efb1eb Replace global Conf mangling with monkeypatch
The test suite, especially for the brokers, was heavily dependant on the
success of the tests preceeding it to pass. This commit should eliminate
that dependency and allow tests to fail without affecting others.
It also removes the need to cleanup globals manually after a test.
2016-11-29 18:08:52 +01:00
ilan 6734f5b96c Removes value check for guard cycle 2016-07-21 16:41:30 +02:00
Vladimir Rychkov cadbc9f220 exception raised if guard_cycle configured not in range (0, 60) 2016-07-13 09:44:26 +01:00
Vladimir Rychkov 1a1385dfba Guard loop sleep made configurable 2016-07-12 13:08:17 +01:00
Ilan Steemers 778607b2cd version 0.7.18 2016-06-07 17:47:00 +02:00
Ilan Steemers d58c31e103 Replaces optparse with argparse for commands 2016-06-07 16:43:51 +02:00
Ilan Steemers 67bd68d10f Recognize Django 1.10 versions 2016-06-07 16:43:30 +02:00
Ilan Steemers 4a5ea5a9d4 v0.7.17 2016-04-24 15:42:38 +02:00
Matt Bone 823ca0c51b allow scheduler to schedule all pending tasks 2016-04-21 16:31:34 -05:00
Ilan Steemers 6026953132 Fixes typo in Save limit 2016-04-06 20:33:26 +02:00
Ilan Steemers 3a57ab1b1b Fixes typo in custom broker handler 2016-04-06 19:59:02 +02:00
Ilan Steemers cbf6fc5a77 v0.7.16 2016-03-07 13:49:09 +01:00
Ilan Steemers d4e0646097 Also fetches name override from q_options 2016-02-28 15:11:48 +01:00
Ilan Steemers 1e5509de45 Also fetches name override from q_options 2016-02-28 15:05:50 +01:00
Ilan Steemers 8f270a5b97 Allows for blank Schedule names in the admin 2016-02-24 11:27:16 +01:00
Ilan Steemers 763fff34c0 Makes it possible to set a schedules group name via q_options dict 2016-02-24 11:22:58 +01:00
Ilan Steemers 397503f5b2 Adds optional task_name argument 2016-02-24 10:52:25 +01:00
Ilan Steemers 0a8f2e7e72 Adds optional task_name argument
Makes it possible to name the task yourself.
2016-02-24 10:44:47 +01:00
Ilan Steemers 2e965b1631 Closes db connections on reincarnate 2016-02-24 10:08:09 +01:00
k4ml cb459cd0a1 Log id returned by broker
This will make it easy to inspect broker directly for particular message.
2016-02-19 17:01:42 +09:00
Ilan Steemers c66f0b74ed Closes all db connections on worker recycle 2016-02-16 11:29:43 +01:00
Ilan Steemers 8ec5e35582 v0.7.15 2016-01-27 13:17:20 +01:00
Ilan Steemers c17468ef86 docs: Adds Custom broker class documentation
Also changes some of the variable and settings names, to make them less ambiguous.
2016-01-27 12:06:49 +01:00
Ilan Steemers 3ac7f26de5 Moves custom broker class to top 2016-01-27 11:11:29 +01:00
Ilan Steemers b1b4a33c51 Fixes typo 2016-01-27 10:40:45 +01:00
Ilan Steemers d2d00e4f94 Adds test for custom broker configuration 2016-01-27 10:33:19 +01:00
Ilan Steemers fe8015403c Adds custom broker configuration 2016-01-27 10:33:07 +01:00
Ilan Steemers 8298f2319f Fixes issue with rollbar configuration 2016-01-27 10:32:48 +01:00
Ilan Steemers af3b1da08f Makes DB polling time configurable via poll setting 2016-01-26 22:29:00 +01:00
Ilan Steemers 9baf1b6394 version 0.7.14 2016-01-24 21:49:30 +01:00
Ilan Steemers 9741efdc5e Adds test for task result update 2016-01-24 21:30:42 +01:00
Ilan Steemers c75ab4e7f0 Only updates existing tasks if it was failing
updates stopped, result and success only for existing task results if the original result was failing. Otherwise the result is discarded.
2016-01-20 14:11:53 +01:00
Ilan Steemers 66771f274a Save task now creates or updates
This way failed tasks that get requeued can have a changed status and result
2016-01-19 22:49:28 +01:00
Ilan Steemers 0e8ea25396 Only acks task if it's succesful 2016-01-18 10:51:28 +01:00
Ilan Steemers 8b27cdae17 Removes duplicate test 2016-01-09 13:42:13 +01:00