0

是否有 API 可以从应用引擎 flex 中检查任务队列的积压工作?App Engine Standard 具有 com.google.appengine.api.taskqueue.Queue.fetchStatistics API,但在 App Engine Flex 中似乎失败并出现错误:com.google.apphosting.api.ApiProxy$CallNotFoundException: Can't make API call taskqueue .FetchQueueStats 在一个既不是原始请求线程也不是由 ThreadManager 创建的线程的线程中

4

1 回答 1

0

任务队列 API已弃用,目前仅适用于 App Engine 标准版第一代运行时。

对于 App Engine Flex、Standard 2nd gen 和其他应用程序,您应该使用Cloud Tasks API

于 2020-05-11T11:53:19.563 回答