go-resty / resty

Simple HTTP and REST client library for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is the `SetTimeout()` respected by the default context?

rew1nter opened this issue · comments

What is the timeout set for the default context? When sending requests at a large scale I was getting the error Context deadline exceeded despite having provided a large settimeout value. In this case do I have to manually set the context to background for settimeout to be respected?