koa-toobusy
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

koa-toobusy

KoaJs Slack

Toobusy middleware for koa.

Install

npm i koa-toobusy --save

Usage

app.use(toobusy(options))

options:

  • maxLag: {Number} set maximum lag to an aggressive value.
  • interval: {Number} set check interval to a faster value.
  • status: {Number} http responde code, default 503.
  • message: {String} http responde message, default Server is too busy, try again later..

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i koa-toobusy

Weekly Downloads

17

Version

1.0.2

License

MIT

Unpacked Size

2.02 kB

Total Files

4

Last publish

Collaborators

  • nswbmw