my$max_retry_count=$self->analysis->stats->max_retry_count();# a constant (as the Worker is already specialized by the Queen) needed later for retrying jobs
my$job_adaptor=$self->db->get_AnalysisJobAdaptor;
do{# Worker's lifespan loop (ends only when the worker dies)
and$self->analysis->stats->adaptor->decrease_running_workers_on_hive_overload($self->analysis->dbID)# careful with order, this operation has side-effect
my$max_retry_count=$self->analysis->stats->max_retry_count();# a constant (as the Worker is already specialized by the Queen) needed later for retrying jobs
$self->queen->worker_check_in($self);#will sync analysis_stats if needed
and$self->analysis->stats->adaptor->decrease_running_workers_on_hive_overload($self->analysis->dbID)# careful with order, this operation has side-effect