koa-toobusy
v1.0.2
Published
Toobusy middleware for koa.
Downloads
145
Readme
koa-toobusy
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, default503
.message
: {String} http responde message, defaultServer is too busy, try again later.
.
License
MIT