commit | f0291c244af7f27c6d2f4d1dbf6438b993cf972c | [log] [tgz] |
---|---|---|
author | James E. Blair <jeblair@redhat.com> | Thu Jun 16 14:02:33 2016 -0700 |
committer | James E. Blair <jeblair@redhat.com> | Thu Jun 16 14:02:33 2016 -0700 |
tree | f51c5cf9d99f311ac082e06b00dc94a8b1532007 | |
parent | 6870b1293261942c99a15f5e150c7b99bf32b45b [diff] |
Ansible launcher: delay node assignment under load Gearman wakes all available workers at the same time when a job is available. The first one to respond gets the job. To attempt to more evenly distribute nodes (which are assigned via a gearman job) across multiple zuul launchers, delay for a period related exponentially to the number of nodes this launcher currently has between the wake up and grab job packets. Change-Id: I307938f97b730b229c1622cd2f929fc5b65ccdad