PSGI improvements
Call to_app() explicitly rather than using Plack::Component's overload Compile the psgi sub once per app, not once per req
This commit is contained in:
parent
ad68c7bd19
commit
9621120825
6 changed files with 66 additions and 60 deletions
|
|
@ -50,6 +50,6 @@ builder {
|
|||
};
|
||||
|
||||
# Return the app
|
||||
mount '/' => $wg;
|
||||
mount '/' => $wg->to_app;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue