Simplified logic to decide whether Scheduler needs a resync. Temporarily ignore limiters and look at the number of workers initially required.
Simplified logic to decide whether Scheduler needs a resync. Temporarily ignore limiters and look at the number of workers initially required.

Trigger re-sync when sum_over_preferred_analyses(num_required_workers)==0.
Trigger check-for-dead if valley->count_running_workers!=queen->count_running_workers.

Ensembl/ensembl-hive,Ensembl/ensembl-hive,Ensembl/ensembl-hive,Ensembl/ensembl-hive