Timeout parameter
Kexkey opened this issue · 1 comments
Kexkey commented
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!
petertodd commented
Looks like this is causing the OTS website timestamped to hang as well.
…On April 16, 2019 3:40:12 PM UTC, kexkey ***@***.***> 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