move our panels to top, run only low-impact debug
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 2 Apr 2012 19:15:08 +0000 (21:15 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 30 May 2012 20:28:10 +0000 (22:28 +0200)
misc/plack/koha.psgi

index 7c4d541..eb0e883 100644 (file)
@@ -29,11 +29,12 @@ my $app=Plack::App::CGIBin->new(root => $ENV{INTRANETDIR} || $ENV{OPACDIR});
 builder {
 
        enable_if { $ENV{PLACK_DEBUG} } 'Debug',  panels => [
-               qw(Environment Response Timer Memory Persistant),
-#              [ 'Profiler::NYTProf', exclude => [qw(.*\.css .*\.png .*\.ico .*\.js .*\.gif)] ],
+               qw(Koha Persistant),
+               qw(Environment Response Timer Memory),
+               [ 'Profiler::NYTProf', exclude => [qw(.*\.css .*\.png .*\.ico .*\.js .*\.gif)] ],
 #              [ 'DBITrace', level => 1 ], # a LOT of fine-graded SQL trace
                [ 'DBIProfile', profile => 2 ],
-               [ 'Devel::Size', for => $watch_size ],
+#              [ 'Devel::Size', for => $watch_size ],
        ];
 
        enable_if { $ENV{PLACK_DEBUG} } 'StackTrace';