Migrate Restify (throttler plugin) to Nest (throttle module)

96 Views Asked by At

I'm migrating my Restify project to Nest and I have to migrate the throttle plugin too. I noticed that the Restify throttle plugin uses burst (in requests) and rate (in seconds) as options for throttling.

Are these two properties equivalent to Nest throttle module properties limit (in requests) and ttl (in seconds)?

It makes most sense to me if they would be the same but I can't find much information about this.

1

There are 1 best solutions below

0
Jay McDoniel On BEST ANSWER

After a cursory look at their documentation, yes