Skip to content

Commit

Permalink
Increase troubleshooter fetch timeout to 5s
Browse files Browse the repository at this point in the history
  • Loading branch information
TBonnin committed Oct 21, 2016
1 parent 00dfe1c commit d38d885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/app/controllers/TroubleshooterController.scala
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class TroubleshooterController(wsClient: WSClient) extends Controller with Loggi
}

private def httpGet(testName: String, url: String) = {
wsClient.url(url).withVirtualHost("www.theguardian.com").withRequestTimeout(2000).get().map {
wsClient.url(url).withVirtualHost("www.theguardian.com").withRequestTimeout(5000).get().map {
response =>
if (response.status == 200) {
TestPassed(testName)
Expand Down

0 comments on commit d38d885

Please sign in to comment.