Wouldn't this reset the cache every time a new instance gets started not
just when a new version is deployed.

On Mon, Nov 1, 2010 at 6:27 PM, MasterGaurav <gaurav.va...@gmail.com> wrote:

> If you are using a Java application, you can do a memcache reset in
> the context startup.
>
> Look at the description of the interface
> javax.servlet.ServletContextListener.
>
>
> --
> Happy Hacking,
> Gaurav Vaish
> http://www.mastergaurav.com
>
>
> On Nov 1, 11:05 pm, pdknsk <pdk...@googlemail.com> wrote:
> > I'd like to automatically reset memcache immediately when I've
> > uploaded a new version. Is this possible? I currently have a /reset
> > script which I run manually every time. It's a bit tedious and I'd
> > like to automate it, especially since there can be a delay of up to a
> > minute between a deployment success message and the updated version
> > actually being available. Thanks!
>
> --
> 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%2bunsubscr...@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.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to