You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -70,8 +70,10 @@ This enables horizontally scaling both web traffic and long-running jobs.
70
70
71
71
#### On Heroku
72
72
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.
74
74
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.
75
77
76
78
Of course, a production app should never run in a single instance or make users wait for worker processes.
77
79
When you're ready to test in staging or deploy to production, you can scale beyond single-dyno mode:
0 commit comments