Commit Graph
71 Commits
Author SHA1 Message Date
niphlod 1456c0da1e references can be long too 2014-09-03 21:23:24 +02:00
niphlod fa5100cb2a avoid multiple cascade paths 2014-09-03 21:09:09 +02:00
niphlod 7e73faf619 doc fixes 2014-08-21 22:49:26 +02:00
Leonel Câmara 0f55d43a11 Removed unecessary dict call in get_workers 2014-08-05 15:37:10 +01:00
niphlod cb6f2ca302 task dependencies, a little bit of refactoring 2014-08-04 21:42:11 +02:00
mdipierro 21bdf114b4 Merge pull request #462 from niphlod/fix/scheduler_disabled
a DISABLED worker shouldn't resume after completing a task
2014-06-15 22:20:17 -05:00
niphlod d2c9f510bc if a worker is DISABLED while processing a task, it shouldn't resume after finishing it 2014-06-15 17:40:08 +02:00
niphlod 84cf736b63 removed leftover print 2014-06-15 15:15:33 +02:00
niphlod da49391134 - refactored internals
- pep8
- worker stats
- kill(), terminate(), resume(), disable() have a new "limit" parameter
- first steps towards autoscaling
- needs an additional column (easiest migration possible)
2014-06-08 22:51:26 +02:00
niphlod 3597833bac sphinx-compatible docstrings (7 modules remaining...) 2014-03-23 21:46:25 +01:00
niphlod 9434baba11 added the prevent_drift parameter 2014-01-20 22:43:53 +01:00
Jeremie Dokime 3f200c245c Fix concurrency handling in order to avoid that some workers get the same task at the same time. 2014-01-13 15:17:58 +01:00
niphlod d30098d646 inject W2P_TASK in current, so you can use current.W2P_TASK in imported modules. Thanks @Xiaonuo for the feature request 2013-10-23 00:03:04 +02:00
niphlod cbddfb5cdf fix issue with scheduler namespace. Thanks @limedrop for spotting this. 2013-08-24 14:05:08 +02:00
niphlod ae567462d3 fixed issue 1611 (scheduler's migrate should follow Auth's migrate behaviour) 2013-08-04 20:56:52 +02:00
niphlod 6cb91ab60d fix issue with sys.path. Now the path looks like 'root/gluon', 'root/site-packages', 'root' like in a normal web request 2013-08-03 02:46:59 +02:00
niphlod 8666d3520e fixed issue 1567 with scheduler and Mysql 2013-06-29 22:49:05 +02:00
Massimo 6eea834777 fixed bug in scheduler context switch, thanks Niphlod 2013-04-05 16:01:13 -05:00
mdipierro 38fff6fb91 better reporting in scheduler, thanks Niphlod 2013-04-03 16:42:27 -05:00
Massimo ba0a143717 scheduler patch allows termination of tasks, thanks niphlod 2013-03-12 10:40:57 -05:00
Massimo 9c970632c5 scheduler patch, thanks Niphlod 2013-02-21 10:16:30 -06:00
Massimo c121589499 fixed bug in latest commit, thanks Niphlod 2013-02-14 14:41:52 -06:00
Massimo 50193471d6 better IS_NOT_IN_DB, new scheduler API, after_connection dal callback, thanks Niphlod 2013-02-14 14:15:27 -06:00
Massimo 92cef0b811 scheduler patch, thanks Niphlod 2013-01-15 15:54:29 -06:00
mdipierro 41f5dfaffc gluon/scheduler.py 2013-01-14 15:26:46 -06:00
mdipierro ee2c4f339a fixed possible scheduler problem, thanks Mike Dickun and Niphlod 2012-12-23 15:07:43 -06:00
mdipierro af85a2cf25 changed of scheduler column names, this breaks scheduler backard compatibility 2012-12-19 11:24:55 -06:00
mdipierro 54dabd979b fixed 2.5 issues with scheduler 2012-11-13 16:27:26 -06:00
mdipierro ad2b332fa0 improved scheduler, thanks Niphlod 2012-11-05 12:39:17 -06:00
mdipierro 755a860011 many scheduler improvements, thanks Niphlod 2012-11-01 21:35:53 -05:00
mdipierro 8fe14215e1 fixed scheduler bug, thanks Niphlod 2012-10-26 15:49:47 -05:00
mdipierro cdaf4f651b assign_task takes better care for group_names, thanks Niphlod 2012-10-21 09:23:26 -05:00
mdipierro 5aa27fc562 assign_task takes better care for group_names, thanks Niphlod 2012-10-20 15:27:13 -05:00
mdipierro 3f4330d9b1 removed print statements from scheduler, thanks Niphlod 2012-10-20 10:03:57 -05:00
mdipierro 6aa5edc7ff many pep8 improvements 2012-10-19 12:33:53 -05:00
mdipierro 71ec15190b some pep8 changes (fixed spacing at end) 2012-10-19 10:37:07 -05:00
mdipierro 3a66f5e330 fixed some pep8 stuff 2012-10-19 09:40:17 -05:00
mdipierro ea9ae52e10 scheduler.queue_task, thank Niphlod 2012-10-18 18:20:51 -05:00
mdipierro 8d5c82c531 scheduler.queue_task(...), thanks Niphlod 2012-10-18 13:02:19 -05:00
mdipierro 255cb5e1de faster scheduler, thanks Niphlod 2012-10-17 16:01:29 -05:00
mdipierro 9d4e854723 scheduler non-writable field, thanks Niphlod 2012-10-04 20:10:55 -05:00
mdipierro 508b3e1db7 adding missing import in scheduler 2012-09-16 14:10:39 -05:00
mdipierro fa480b0bc3 fixed datetime T in scheduler 2012-09-16 11:46:03 -05:00
mdipierro eb45052021 scheduler validators, thanks Niphlod 2012-08-31 16:15:59 -05:00
mdipierro be7390424a allow tasks without timeout 2012-08-30 08:05:09 -05:00
mdipierro dcce7fc39a fixed @//// in wiki and pep8 spacing 2012-08-25 11:29:11 -05:00
mdipierro c8e34a9c24 removed debug line in scheduler, thanks Niphlod 2012-08-20 10:58:12 -05:00
mdipierro 146f9584d9 more readable scheduler, thanks Niphlod 2012-08-19 10:03:28 -05:00
mdipierro 80fe196b5a better scheduler, thanks Niphlod and dhx 2012-08-16 17:51:08 -05:00
mdipierro e76bcf0ea9 removed unwanted whitespaces 2012-08-16 11:56:07 -05:00