0rpc/zerorpc-node

Millisecond-resolution timeouts

maxcountryman opened this issue · 2 comments

I'm curious if there's a reason timeouts cannot be in rendered in millisecond resolution?

My use-case is an application where latency is key concern (we're aiming for sub-millisecond response times) and we would much rather timeout than wait for a slow response.

timeouts are floating point seconds. you do have millisecond resolution. 0.1 should give you a 100ms timeout for example.

Thank you.