playframework/playframework — pull request #1535 by huntc (2013-08-27 06:22:29+00:00)
Title: Wild thread allocations during startup

It was possible for a race condition to occur and for a large number of threads to be created during the startup of several WS clients simultaneously (see https://github.com/playframework/playframework/pull/1294#commitcomment-3895065).

The issue is fixed by ensuring that the ws client is readied for lazy instantiation during startup.