-
-
Notifications
You must be signed in to change notification settings - Fork 633
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove mini_racer as the default ExecJS runtime (#1453)
- Loading branch information
Showing
8 changed files
with
13 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,14 +137,14 @@ ReactOnRails.configure do |config| | |
################################################################################ | ||
# Server Renderer Configuration for ExecJS | ||
################################################################################ | ||
# The default server rendering is ExecJS, probably using the mini_racer gem | ||
# The default server rendering is ExecJS, by default using Node.js runtime | ||
# If you wish to use an alternative Node server rendering for higher performance, | ||
# contact [email protected] for details. | ||
# | ||
# For ExecJS: | ||
# You can configure your pool of JS virtual machines and specify where it should load code: | ||
# On MRI, use `mini_racer` for the best performance | ||
# (see [discussion](https://github.com/reactjs/react-rails/pull/290)) | ||
# On MRI, use `node.js` runtime for the best performance | ||
# (see [issues](https://github.com/shakacode/react_on_rails/issues/1438)) | ||
# On MRI, you'll get a deadlock with `pool_size` > 1 | ||
# If you're using JRuby, you can increase `pool_size` to have real multi-threaded rendering. | ||
config.server_renderer_pool_size = 1 # increase if you're on JRuby | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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