1

试图从项目的谷歌大查询数据中检索数据。

query_response = query_request.query(projectId=PROJECTID, body=query_data).execute()

查询没有任何问题,只是每当我打电话给它时,我都会得到

    The API call urlfetch.Fetch() took too long to respond and was cancelled.
Traceback (most recent call last):
...
DeadlineExceededError: The API call urlfetch.Fetch() took too long to respond and was cancelled.

我已经提到了这个stackoverflow线程

from google.appengine.api import urlfetch
urlfetch.set_default_fetch_deadline(60)

在我的代码中,但仍然出现错误。

4

0 回答 0