On Sun, Aug 18, 2013 at 5:44 PM, Richard Spillane <[email protected]>wrote:
> Our website has to wait for the image to become available. So, should we > poll somehow (repeatedly call getServingUrl())? Is there a way to be > notified when getServingUrl() will no longer fail (some kind of completion > callback we need to fill out)? What is the best way to wait for > getServingUrl() to succeed? > For a previous project I did, I scheduled a task to repeatedly attempt to call getServingUrl(). If the task failed, the Task Queue service automatically retried the task until it succeeded. As for "best way", it really doesn't matter what option you choose, you just need to find a way to buy time until GAE processes your uploaded image. ----------------- -Vinny P Technology & Media Advisor Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- 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/groups/opt_out.
