You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by evliya <gi...@git.apache.org> on 2016/12/27 11:45:12 UTC

[GitHub] usergrid-java pull request #1: Enable configuration for OkHttpClient

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 <ev...@gmail.com>
Date:   2016-12-27T10:44:19Z

    Added configuration for OkHttpClient, and updated OkHttpClient to 3.5.0

commit 4da31282ba5960e3b8b0978d762057ee1c09b303
Author: Eren Yilmaz <ev...@gmail.com>
Date:   2016-12-27T10:45:51Z

    The HttpConfig class

commit e64128460434eff660a940664e5d2586f60d78de
Author: Eren Yilmaz <ev...@gmail.com>
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] usergrid-java issue #1: Enable configuration for OkHttpClient

Posted by evliya <gi...@git.apache.org>.
Github user evliya commented on the issue:

    https://github.com/apache/usergrid-java/pull/1
  
    There are still issues with OkHttpClient. Closing PR for now.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] usergrid-java pull request #1: Enable configuration for OkHttpClient

Posted by evliya <gi...@git.apache.org>.
Github user evliya closed the pull request at:

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


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---