mirror of https://github.com/status-im/codimd.git
fix: code style
Signed-off-by: Max Wu <jackymaxj@gmail.com>
This commit is contained in:
parent
dd267096c9
commit
f1680ef7fa
|
@ -5,7 +5,7 @@ const toobusy = require('toobusy-js')
|
||||||
const config = require('../../config')
|
const config = require('../../config')
|
||||||
const response = require('../../response')
|
const response = require('../../response')
|
||||||
|
|
||||||
toobusy.maxLag(config.responseMaxLag);
|
toobusy.maxLag(config.responseMaxLag)
|
||||||
|
|
||||||
module.exports = function (req, res, next) {
|
module.exports = function (req, res, next) {
|
||||||
if (toobusy()) {
|
if (toobusy()) {
|
||||||
|
|
Loading…
Reference in New Issue