added TALK_CONCURRENCY to adv config

This commit is contained in:
immber
2019-01-14 10:37:36 -08:00
parent f69a9c826d
commit acc83e27ce
2 changed files with 6 additions and 0 deletions
@@ -49,6 +49,8 @@ When you are ready to launch your production instance of Talk update your NODE_E
Then launch talk with `yarn start` or with the command `NODE_ENV=production ./bin/cli-serve -j -w`
By default Talk will run on a single thread, but you can also run multiple Talk threads on a single application instance by setting the environment variable `TALK_CONCURRENCY`. [See Advanced Configuration](/talk/advanced-configuration/#talk-concurrency)
@@ -23,6 +23,10 @@ otherwise the application will fail to start.
Configure the duration for which comment counts are cached for, parsed by
[ms](https://www.npmjs.com/package/ms). (Default `1hr`)
## TALK_CONCURRENCY
This environment variable allows multiple worker processes to be spawned to handle traffic. Defaults to 1 if not set.
## TALK_DEFAULT_LANG
This is a **Build Variable** and must be consumed during build. If using the