import { type StreamConsumerLimits } from "https://deno.land/x/natsws@v1.28.0/src/mod.ts";
Sets default consumer limits for inactive_threshold and max_ack_pending to consumers of this stream that don't specify specific values. This functionality requires a server 2.10.x or better.
Properties
optional
inactive_threshold: NanosThe default inactive_threshold
applied to consumers.
This value is specified in nanoseconds. Pleause use the nanos()
function to convert between millis and nanoseconds. Or millis()
to convert a nanosecond value to millis.