Do you need to import any packages or frameworks in your warm-up load them into memory, or will that happen regardless when the instance spins up?
On Dec 6, 1:28 am, "Nick Johnson (Google)" <nick.john...@google.com> 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 <vocalster....@gmail.com> 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, 风笑雪 <kea...@gmail.com> 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 google-appeng...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> google-appengine+unsubscr...@googlegroups.com<google-appengine%2Bunsubscrib > >> e...@googlegroups.com> > >> . > >> 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 google-appeng...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine+unsubscr...@googlegroups.com<google-appengine%2Bunsubscrib > > e...@googlegroups.com> > > . > > 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 google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.