I will check the situation without the threadsafe If I can, great idea, 
thanks

The request that cause the delay should actually be the simplest, it 
renders a template 40 times, a template that I also render at the warmup 
handler, hoping jinja2 caches it

it's a template, that includes another template and a macro template, so 
it's supposed to be lightweight, the end template is 160 lines with an if / 
elif (30x) / else tag/routine, the macro template is 500 lines

if, for some reason, the cache is not working initially, it might explain 
things

I also recently set jinja2.Environment(auto_reload=False,cache_size=-1) on 
production, to prevent jinja2 from reloading templates that don't change on 
production and let it cache everything, the issue persisted

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to