@Aditya Mathur are you sure you meant to use `expiration` (seconds since the epoch) or `expirationTt

@Aditya Mathur are you sure you meant to use
expiration
(seconds since the epoch) or
expirationTtl
(seconds from now) ? Because I saw your
this.windowMs = 60_000 // 1 minute
comment, but you also have
expirationTtl: this.windowMs
and that would be wrong; it would be 60000 seconds.
Was this page helpful?