Skip to content

Commit 9fd1979

Browse files
committed
[chore] Correct default runtime behaviour under Rails for 1.3 onwards.
1 parent d7e5489 commit 9fd1979

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,11 @@ Several aspects of Rails are automatically set up for you.
177177
## JRuby Runtime Management
178178

179179
JRuby runtime management and pooling is done automatically by the framework.
180-
In the case of Rails, runtimes are pooled by default (the default will most
181-
likely change with the adoption of Rails 4.0). For other Rack applications a
182-
single shared runtime is created and shared for every request by default.
180+
For Rack-only applications (and Rails ones from jruby-rack >= 1.3), a single
181+
shared runtime is created and shared for every request by default.
182+
183183
If *jruby.min.runtimes* and *jruby.max.runtimes* values are
184-
specified pooling is supported for plain Rack applications as well.
184+
specified pooling of runtimes can be enabled for both types of applications.
185185

186186
We do recommend to boot your runtimes up-front to avoid the cost of initializing
187187
one while a request kicks in and find the pool empty, this can be easily avoided

0 commit comments

Comments
 (0)