You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was getting the error "context deadline exceeded" using a generated client. After some debugging, I discovered the default timeout is not affecting the call to Submit() in client/runtime.go.
Activity
tompscanlan commentedon Sep 11, 2016
I think it may be a documentation bug. Docs say to try:
But to set a timeout, you can call something like:
That also gets me around the bug. Not sure why the default timeout isn't being honored, but this works for me.
casualjim commentedon Sep 11, 2016
right, and if you use operations.NewAllParams() it should already default to 30 seconds
tompscanlan commentedon Sep 11, 2016
I'm the bug... ;(