coldsnap icon indicating copy to clipboard operation
coldsnap copied to clipboard

Add timeout to remote calls

Open tjkirch opened this issue 4 years ago • 0 comments

We've seen a few occasions where coldsnap uploads have blocked forever in a rusoto call. We should add timeouts so the calls can fail, letting the error handling code either retry or inform the user.

tokio::time::timeout can wrap any future with a maximum duration; we can use it to wrap our rusoto calls.

tjkirch avatar Aug 18 '21 17:08 tjkirch