Worth noting is that the documentation is wrong. The XML-tag to use to
disable warmup requests in Java is <warmup-requests-enabled> and _not_
<warming-requests-enabled>.

Maybe you can fix it Nick? :)

On 6 Dec, 07:28, "Nick Johnson (Google)" <[email protected]>
wrote:
> The purpose of warmup requests is to give your app the opportunity to load
> all the libraries it needs and do any other initialization work required,
> before it serves user-facing requests. If you have a catchall handler, then
> serving a 404 is probably doing that, but having a do-nothing handler is
> probably a better idea, and ensures the request hits the whole app pipeline.
>
> -Nick Johnson
>
>
>
>
>
> On Sun, Dec 5, 2010 at 5:02 PM, Will <[email protected]> wrote:
> > Hmm, thanks.
>
> > I can live with the log, as long as doing nothing serves the purpose. I
> > prefer less code unless it's absolutely necessary.
>
> > Best,
>
> > Will
>
> > On Sun, Dec 5, 2010 at 10:25 AM, 风笑雪 <[email protected]> wrote:
>
> >> You'd better implement it if you don't want to see it logged as an
> >> error in your dashboard.
>
> >> However, the implementation can be empty:
>
> >> class WarmupHandler(RequestHandler):
> >>        def get(self):
> >>                pass # or log it by: logging.info('Warmup Request')
>
> >> ----------
> >> keakon
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Google App Engine" group.
> >> To post to this group, send email to [email protected].
> >> To unsubscribe from this group, send email to
> >> [email protected]<google-appengine%[email protected]>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/google-appengine?hl=en.
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-appengine%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> 368047

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to