remove toobusy (i can't figure this one out)

This commit is contained in:
Tyler Renelle 2013-01-21 17:10:07 -05:00
parent 92830be2e7
commit 3d57894b9e

View file

@ -48,11 +48,11 @@ options =
mongo_store = new MongoStore {url: process.env.NODE_DB_URI}, -> mongo_store = new MongoStore {url: process.env.NODE_DB_URI}, ->
expressApp expressApp
.use (req, res, next) -> #.use (req, res, next) ->
if toobusy() # if toobusy()
return res.redirect 307, '/500.html' # return res.redirect 307, '/500.html'
else # else
next() # next()
.use(express.favicon()) .use(express.favicon())
# Gzip static files and serve from memory # Gzip static files and serve from memory