Puppet app for Heroku Ops Challenge
A couple of simple endpoints geared towards causing trouble:
-
/wait[/time_to_wait] - Causes the app to randomly wait between 1 to 20 seconds before responding, or else a specific time to wait.
-
/load_wait - Makes the app wait proportional to the number of times load_wait is called. Currently set to slow down by 1 second more every 50 calls. This is per dyno, and reset on a dyno restart.
-
/die - Kills the app with a SIGABRT. (Note, gunicorn ignores this, so probably we'll have to deploy the raw app)