cylc/cylc — pull request #1074 by hjoliver (2014-08-08 01:47:46+00:00)
Title: Don't reload tasks in the 'ready' state.

The 'ready' state means "job submission command already queued to the process pool". Currently if a retrying task gets reloaded **while it is in the (normally very brief) 'ready' state** it's retry delays get reset. To fix this we could determine if a ready task is also a retrying task, and give it special treatment like tasks in the 'retrying' state in ```cylc.task_pool.pool.reload_taskdefs()```, but it is more straightforward to just delay reload of 'ready' tasks (and not unreasonable - they're as good as submitted, and submitted tasks do get their reload delayed).

@matthewrmshin - please review.