IU-Libraries-Joint-Development/PagedMedia — pull request #21 by randalldfloyd (2014-05-05 20:32:40+00:00)
Title: HPT-99: Using Jettywrapper startup_wait parameter to allow startup time

This pull request changes the startup_wait time in the Jetty configuration in: config/jetty.yml

And removes the sleep from the 'ci' task in lib/tasks/pmp-tasks.rake

By doing so, the Jettywrapper startup will only wait as long as it takes up to the specified value, vs. a sleep command which will annoyingly wait no matter what. If set at 90 and the port becomes available in 30, then the command will return. For default, the new value is 30, for test it is 90 because Travis seems to take even longer to deploy the container.