From 032405bb0ee35b9ec52f3d73ba6f99f00a81c6c0 Mon Sep 17 00:00:00 2001 From: LSAITHARUN Date: Mon, 5 Jul 2021 02:17:34 +0530 Subject: [PATCH 1/3] Changed default value to 5 --- plivoclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plivoclient.go b/plivoclient.go index accdda0..04c9df3 100644 --- a/plivoclient.go +++ b/plivoclient.go @@ -78,7 +78,7 @@ func NewClient(authId, authToken string, options *ClientOptions) (client *Client client.BaseUrl = baseUrl client.httpClient = &http.Client{ - Timeout: time.Minute, + Timeout : time.Second*5, } if options.HttpClient != nil { From 151b4a71b90c052fee67baf83fd40e16236a3383 Mon Sep 17 00:00:00 2001 From: LSAITHARUN Date: Mon, 19 Jul 2021 12:15:44 +0530 Subject: [PATCH 2/3] Updated SDK versioning --- CHANGELOG.md | 3 +++ baseclient.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e478888..2512ed3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log +## [7.2.1](https://github.com/plivo/plivo-go/tree/v7.2.1) (2021-07-19) +- Change default request timeout to 5 + ## [7.2.0](https://github.com/plivo/plivo-go/tree/v7.2.0) (2021-07-14) - Add SDK support for Voice MultiPartyCall APIs and XML. diff --git a/baseclient.go b/baseclient.go index c06fb78..649a58b 100644 --- a/baseclient.go +++ b/baseclient.go @@ -13,7 +13,7 @@ import ( "github.com/google/go-querystring/query" ) -const sdkVersion = "7.2.0" +const sdkVersion = "7.2.1" const lookupBaseUrl = "lookup.plivo.com" From e0338190a32d7e282e23b78a831d394b5de3c8a0 Mon Sep 17 00:00:00 2001 From: huzaif-plivo Date: Thu, 22 Jul 2021 08:17:24 +0530 Subject: [PATCH 3/3] update changelog --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2512ed3..4d197b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Change Log -## [7.2.1](https://github.com/plivo/plivo-go/tree/v7.2.1) (2021-07-19) -- Change default request timeout to 5 +## [7.2.1](https://github.com/plivo/plivo-go/tree/v7.2.1) (2021-07-22) +- Updated default HTTP client request timeout to 5 seconds. ## [7.2.0](https://github.com/plivo/plivo-go/tree/v7.2.0) (2021-07-14) - Add SDK support for Voice MultiPartyCall APIs and XML.