I want to create thumbs for blobstore files.
I use code:
String servingUrl = ImagesServiceFactory.getImagesService().getServingUrl(
ServingUrlOptions.Builder.withBlobKey(new BlobKey(blobKey))
.imageSize(100)
.secureUrl(false)
);
It work fine. But when I need to create many thums per one request I get exception:
com.google.apphosting.api.DeadlineExceededException: This request (2b0af6acab1f5e18) started at 2012/10/11 21:53:57.444 UTC and was still executing at 2012/10/11 21:54:57.017 UTC.
Maybe someone have solution for this problem. Please help!
The task queue was designed for long running tasks like this, you should look into it.
https://developers.google.com/appengine/docs/java/taskqueue/overview?hl=en