[Jifty-commit] r5784 - in jifty/trunk: lib/Jifty

Jifty commits jifty-commit at lists.jifty.org
Tue Sep 2 17:30:39 EDT 2008


Author: alexmv
Date: Tue Sep  2 17:30:39 2008
New Revision: 5784

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Dispatcher.pm

Log:
 r36801 at kohr-ah:  chmrr | 2008-09-02 17:29:27 -0400
  * Subrequests should never need to run actions; this should speed up regions


Modified: jifty/trunk/lib/Jifty/Dispatcher.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Dispatcher.pm	(original)
+++ jifty/trunk/lib/Jifty/Dispatcher.pm	Tue Sep  2 17:30:39 2008
@@ -854,7 +854,7 @@
     # actions and then the RUN stage.
     if ($self->_handle_stage('SETUP')) {
         # Run actions
-        Jifty->web->handle_request();
+        Jifty->web->handle_request unless Jifty->web->request->is_subrequest;
 
         # Run, and show the page
         $self->_handle_stage('RUN' => 'show');


More information about the Jifty-commit mailing list