butler icon indicating copy to clipboard operation
butler copied to clipboard

Increase default timeout, perhaps via argument

Open assertchris opened this issue 4 years ago • 0 comments

Thanks for your awesome work.

Seeing many forum threads about how the 2 second context deadline exceeded timeout might be prohibitively short for developers with sub-optimal network connections. Would you be open to extending this, perhaps even via a command-line argument?

I'm hesitant to make a PR just adjusting the number to an arbitrarily higher number (say 2 -> 5 seconds) because that doesn't seem like the best kind of fix. But, if you're ok with that, then I'm happy to submit. I don't understand enough about Go (or the itch ecosystem of libraries) to be confident in adding support for a command-line argument; or I'd have submitted the argument-based solution already...

Edit: to be clear, this is an issue I'm also struggling with.

assertchris avatar Feb 27 '21 08:02 assertchris