Created
June 4, 2015 15:18
-
-
Save ben-ng/7c8d0c537acfb0289617 to your computer and use it in GitHub Desktop.
A simple, slow server for testing deis' zero downtime deploys
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setTimeout(function () { | |
require('http').createServer(function (req, res) { | |
res.end('yo!') | |
}).listen(process.env.PORT) | |
}, 45000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment