2

有时(似乎是随机的)当我在 GAE 推送队列中安排任务时,任务不会启动并且我收到以下错误消息:

A problem was encountered with the process that handled this request, causing it to exit. 
This is likely to cause a new process to be used for the next request to your application. 
If you see this message frequently, you may be throwing exceptions during the initialization of your application. 
(Error code 140)

尽管消息“这可能会导致新进程用于 nexr 请求”,但不会尝试重试并且任务永远不会执行。有人知道可能的原因吗?我无法弄清楚代码 140 是哪个错误。(注意:不是 104!)

这是 queue.xml 中的任务配置:

<queue>
    <name>async-documents-storage-consistency-ops</name>
    <mode>push</mode>
    <rate>1/s</rate>
    <bucket-size>10</bucket-size>
    <max-concurrent-requests>10</max-concurrent-requests>
    <retry-parameters>
        <task-retry-limit>0</task-retry-limit>
    </retry-parameters>
</queue>
4

0 回答 0