【发布时间】:2012-10-02 17:32:23
【问题描述】:
我想为 blobstore 文件创建缩略图。 我使用代码:
String servingUrl = ImagesServiceFactory.getImagesService().getServingUrl( ServingUrlOptions.Builder.withBlobKey(new BlobKey(blobKey)) .imageSize(100) .secureUrl(假) );
它工作正常。但是,当我需要为每个请求创建多个 thums 时,我会遇到异常:
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.
也许有人可以解决这个问题。请帮忙!
【问题讨论】:
-
如果收到 DeadlineExceededException:重试。这解决了我的问题。
-
使用 PHP 而不是 java 你可以参考这篇文章stackoverflow.com/questions/37646849/…
标签: java google-app-engine thumbnails