Skip to content

Commit

Permalink
update read timeout value from 1000 millis to 5000 millis (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
asoftwareguy authored and iamthechad committed Nov 14, 2016
1 parent 741e1a6 commit 329679b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/groovy/com/megatome/grails/recaptcha/net/Post.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ public class Post {
options.each { k,v -> if (this.hasProperty(k)) { this."$k" = v} }
if (null == rest) {
if (proxy?.isConfigured()) {
rest = new RestBuilder(connectTimeout: 10000, readTimeout: 1000, proxy: proxy.proxy)
rest = new RestBuilder(connectTimeout: 10000, readTimeout: 5000, proxy: proxy.proxy)
} else {
rest = new RestBuilder(connectTimeout: 10000, readTimeout: 1000)
rest = new RestBuilder(connectTimeout: 10000, readTimeout: 5000)
}
}
}
Expand Down

0 comments on commit 329679b

Please sign in to comment.