apollo-link-timeout icon indicating copy to clipboard operation
apollo-link-timeout copied to clipboard

have a timeout function

Open mschipperheyn opened this issue 4 years ago • 2 comments

We integrate a number of endpoints on our api. Some endpoints are slower than others. I would ideally like to be able to have a function that allows me to return the appropriate timeout depending on the query / mutation.

mschipperheyn avatar Mar 29 '21 20:03 mschipperheyn

+1 on this, would be great if we can have this.

tention avatar May 29 '21 17:05 tention

Adding context={{ timeout: 3000 }} actually works to modify the default timeout. :)

tention avatar Jul 08 '21 14:07 tention