Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1471)

Unified Diff: appengine-tools/src/com/google/appengine/jruby/JRubyYamlPlugin.java

Issue 3425042: Enable warming requests
Patch Set: Created 14 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine-tools/src/com/google/appengine/jruby/JRubyYamlPlugin.java
===================================================================
--- a/appengine-tools/src/com/google/appengine/jruby/JRubyYamlPlugin.java
+++ b/appengine-tools/src/com/google/appengine/jruby/JRubyYamlPlugin.java
@@ -38,7 +38,15 @@
listeners = new ArrayList<String>();
yaml.setListeners(listeners);
}
- listeners.add("com.google.appengine.jruby.LazyContextListener");
+ listeners.add("org.jruby.rack.RackServletContextListener");
+
+ // Add the warmup service
+ List<String> services = yaml.getInboundServices();
+ if (services = null) {
+ services = new ArrayList<String>();
+ yaml.setInboundServices(services);
+ }
+ services.add("warmup");
// Set the public root.
if (yaml.getPublic_root() == null) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b