【发布时间】:2019-03-08 17:50:37
【问题描述】:
正如我在 post 中解释的那样,我正在尝试从 Twitter 上抓取推文。
我使用服务实现了建议的解决方案,因此实际的繁重工作发生在后端。
问题是大约一天后,我收到此错误
"Process terminated because the request deadline was exceeded. (Error code 123)"
我猜这是因为manual scaling has the requests timing out after 24 hours。
是否可以让它运行超过 24 小时?
【问题讨论】:
-
我认为这是不可能的。我最好的猜测是尝试“拆分”您的请求,就像尝试将此过程的元素划分为您的服务的多个实例一样。要么,要么转移到灵活的环境,如果这个截止日期也存在,我现在不记得了(我的错)
标签: python-2.7 google-app-engine google-cloud-platform tweepy app-engine-ndb