nats-io / nats.net

The official C# Client for NATS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ensure elapsed time calculations uses non-clock based calculation.

scottf opened this issue · comments

See Java repo issue: nats-io/nats.java#880

We use Stopwatch which uses the "high-resolution performance counter" when it's available on the device. Otherwise it could be susceptible, but there is no alternative.