I have been using this zoho library extensively for about 6 months in our backend which is very beneficial for golang users. I have noticed that at some days, the requests made by this library sometimes face timeouts of various types like connection timeout, i/o timeout and HTTP handshake timeout. In worse cases, these timeout become very frequent and can be an issue for backend users.
I have just got to know about https://github.com/hashicorp/go-retryablehttp which is a wrapper over net/http package to handle retries in case of time outs.
I surely believe that the inclusion of this library would make zoho package more resilient in terms of timeouts.
For starters, we can have number of retries to be 1 to ensure similar functionality.
Hi schmorrison
I have been using this zoho library extensively for about 6 months in our backend which is very beneficial for golang users. I have noticed that at some days, the requests made by this library sometimes face timeouts of various types like connection timeout, i/o timeout and HTTP handshake timeout. In worse cases, these timeout become very frequent and can be an issue for backend users.
I have just got to know about
https://github.com/hashicorp/go-retryablehttp
which is a wrapper overnet/http
package to handle retries in case of time outs.I surely believe that the inclusion of this library would make zoho package more resilient in terms of timeouts. For starters, we can have number of retries to be
1
to ensure similar functionality.What do you think about this idea?