~rvb/maas/bug-1413030

Viewing all changes in revision 3476.

[r=blake-rouse][bug=][author=allenap] In ExternalComponentsMiddleware, make the cluster connectivity check slightly more efficient.

It uses getAllClients once instead of getClient once for each cluster. This is slightly more efficient because each of those calls has to synchronise with the reactor. It's not a big win, but as it's done every single request it makes sense to trim what we can.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: