Commit 009d204
committed
Pre-load imports and templates for wsgi
This triggers preloading once in __init__ doing essentially the same
thing as in __call__. This avoids burdening the first request with the
startup cost. Fixes issue2551112.
Thanks to Robert Klonner for the patch.1 parent d217654 commit 009d204
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
| |||
0 commit comments