Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

[appengine-jruby] push by mando.woodie - embrace background warmup on 2010-12-04 03:07 GMT

0 views
Skip to first unread message

appengi...@googlecode.com

unread,
Dec 3, 2010, 10:08:03 PM12/3/10
to appengine-j...@googlegroups.com
Revision: 1e00f5eb42
Author: John Woodell <woo...@google.com>
Date: Fri Dec 3 19:07:24 2010
Log: embrace background warmup
http://code.google.com/p/appengine-jruby/source/detail?r=1e00f5eb42

Modified:
/demos/rails2/config.ru

=======================================
--- /demos/rails2/config.ru Sat Sep 4 00:41:44 2010
+++ /demos/rails2/config.ru Fri Dec 3 19:07:24 2010
@@ -2,10 +2,13 @@

ENV['RAILS_ENV'] = AppEngine::Rack.environment

-deferred_dispatcher = AppEngine::Rack::DeferredDispatcher.new(
- :require => File.expand_path('../config/environment', __FILE__),
- :dispatch => 'ActionController::Dispatcher')
-
-map '/' do
- run deferred_dispatcher
-end
+#deferred_dispatcher = AppEngine::Rack::DeferredDispatcher.new(
+# :require => File.expand_path('../config/environment', __FILE__),
+# :dispatch => 'ActionController::Dispatcher')
+#
+#map '/' do
+# run deferred_dispatcher
+#end
+
+require 'config/environment'
+run ActionController::Dispatcher.new

Reply all
Reply to author
Forward
0 new messages