GitHub user evliya opened a pull request:

    https://github.com/apache/usergrid-java/pull/1

    Enable configuration for OkHttpClient

    The OkHttpClient is used by default configuration, which enables retry on 
failure, and all timeouts are 10 seconds. This causes trouble on some 
occasions, i.e. if the usergrid server timeouts, the request is retried. POST 
requests therefore are multiplied. This PR enables configuring OkHttpClient, 
and sets the defaults as retry is disabled and timeouts are 30 secs.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/evliya/usergrid-java master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/usergrid-java/pull/1.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1
    
----
commit e57b86fe64c82fc62fa44eac416d81071293aa7f
Author: Eren Yilmaz <[email protected]>
Date:   2016-12-27T10:44:19Z

    Added configuration for OkHttpClient, and updated OkHttpClient to 3.5.0

commit 4da31282ba5960e3b8b0978d762057ee1c09b303
Author: Eren Yilmaz <[email protected]>
Date:   2016-12-27T10:45:51Z

    The HttpConfig class

commit e64128460434eff660a940664e5d2586f60d78de
Author: Eren Yilmaz <[email protected]>
Date:   2016-12-27T10:49:10Z

    added new build binary

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to