Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 677 Bytes

readme.md

File metadata and controls

26 lines (16 loc) · 677 Bytes

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