javascript-opentimestamps icon indicating copy to clipboard operation
javascript-opentimestamps copied to clipboard

Timeout parameter

Open Kexkey opened this issue 6 years ago • 1 comments

Hi, one of the OTS servers is very slow right now (eternitywall, takes over 1 minute to stamp anything), I was wondering if it would be possible to provide a timeout parameter to the OTS client instead of using the default server timeout? Something like:

ots-cli.js stamp -t 20 -m 2 -d <hash>

So that after 20 seconds, it would assume stamping is ok with at least 2 servers.

Thanks!

Kexkey avatar Apr 16 '19 15:04 Kexkey

Looks like this is causing the OTS website timestamped to hang as well.

On April 16, 2019 3:40:12 PM UTC, kexkey [email protected] wrote:

Hi, one of the OTS servers is very slow right now (eternitywall, takes over 1 minute to stamp anything), I was wondering if it would be possible to provide a timeout parameter to the OTS client instead of using the default server timeout? Something like:

ots-cli.js stamp -t 20 -m 2 -d <hash>

So that after 20 seconds, it would assume stamping is ok with at least 2 servers.

Thanks!

-- https://petertodd.org 'peter'[:-1]@petertodd.org

petertodd avatar Apr 16 '19 15:04 petertodd