vickychijwani / quill

:ghost: [MOVED TO https://github.com/TryGhost/Ghost-Android] The beautiful Android app for your Ghost blog.
MIT License
553 stars 84 forks source link

Set sane default timeouts on OkHttpClient #90

Closed vickychijwani closed 9 years ago

vickychijwani commented 9 years ago

This is in addition to the changes made for #79. And in general it is important we set these timeouts explicitly because OkHttp 2.4.0 does not have them set, i.e., connects/reads/writes never timeout.

See https://github.com/square/okhttp/pull/1720/files#diff-1569ac8bcf3e6ea377ae74ed1636d4f6L92 for how to do it.