Skip to content

Commit b0e7b05

Browse files
committed
Merge branch 'master' of github.com:heroku-examples/node-articles-nlp
2 parents 59554ae + 076d10f commit b0e7b05

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"jade": "^1.5.0",
2323
"lodash": "^2.4.1",
2424
"logfmt": "^1.1.2",
25-
"mongoose": "^3.8.13",
25+
"mongoose": "~3.8.13",
2626
"mongoose-cache": "git://github.com/hunterloftis/mongoose-cache",
2727
"mongoose-timestamp": "^0.3.0",
2828
"morgan": "^1.2.0",

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,10 @@ This enables horizontally scaling both web traffic and long-running jobs.
7070

7171
#### On Heroku
7272

73-
The default deploy configuration includes `THRIFTY=true`, which starts the app in single-dyno mode (free!).
73+
The default deploy configuration includes `THRIFTY=true`, which starts the app in single-dyno mode to avoid charges.
7474
With `THRIFTY=true`, the web process handles both http requests and queued jobs.
75+
Keep in mind that this is [a specific setting for this app](https://github.com/heroku-examples/node-articles-nlp/blob/ff581ec20b843e9c37c5ccdc6d1a175396311531/lib/server.js#L28),
76+
as `THRIFTY` is not a standard Heroku configuration.
7577

7678
Of course, a production app should never run in a single instance or make users wait for worker processes.
7779
When you're ready to test in staging or deploy to production, you can scale beyond single-dyno mode:

0 commit comments

Comments
 (0)