2024-09-29 23:23:24 发布
网友
GAE page
根据GAE的建议,我添加了retry参数(复制自GAE网站):
- retry_parameters min_backoff_seconds: 2.5 max_doublings: 5
但是当我尝试部署我的项目时,它会给出以下错误:
“分析yaml文件时出错:
此处不允许映射值 在“/path/to/my/project”中/克罗恩·亚姆“,第x行,第xx列”
x线在
有什么帮助吗?在
据我所知,那是无效的。假设这是https://cloud.google.com/appengine/docs/python/config/cron上的示例。尝试在retry_parameters后添加一个冒号。重试的参数应再缩进一级。在
retry_parameters
cron: - description: retry demo url: /retry schedule: every 10 mins - retry_parameters: min_backoff_seconds: 2.5 max_doublings: 5
从retry_parameters中删除连字符。另外,retry_parameters的参数应该再缩进一级。在
cron: - description: daily reports and exports url: /admin/reports/reportsdaily schedule: every 10 mins retry_parameters: min_backoff_seconds: 2.5 max_doublings: 5
据我所知,那是无效的。假设这是https://cloud.google.com/appengine/docs/python/config/cron上的示例。尝试在
retry_parameters
后添加一个冒号。重试的参数应再缩进一级。在从
retry_parameters
中删除连字符。另外,retry_parameters
的参数应该再缩进一级。在相关问题 更多 >
编程相关推荐