ndx-keep-awake
v0.0.5
Published
keep awake for ndx-framework
Downloads
9
Readme
ndx-keep-awake
keeps your ndx-framework app awake on even the sleepiest hosts
install withnpm install --save ndx-keep-awake
then add it to your .use
listsrc/server/app.coffee
require 'ndx-server'
.config
database: 'db'
.use 'ndx-keep-awake'
.start
what it does
ndx-keep-awake creates the route /api/keep-awake
and calls it every 5 minutes
why would i need that?
some hosts will put your app to sleep after a certain period of inactivity, ndx-keep-awake will prevent that happening