我正试图将其作为我的app.yaml 上传
application: *******
version: 2
runtime: php55
api_version: 1
threadsafe: yes
instance_class: F2
automatic_scaling:
min_idle_instances: 1
max_idle_instances: 5
min_pending_latency: 5.0s
max_pending_latency: 7.7s
handlers:
- url: /favicon'.ico
static_files: favicon.ico
upload: favicon'.ico
- url: /resources
static_dir: resources
- url: /static
static_dir: static
- url: /test.php
script: test.php
- url: .*
script: home/service/index.php
每次我上传它时,它都会说我正在使用自定义性能设置,并查看应用程序部分。这正是我得到的错误您的应用程序当前具有与模块功能不兼容的自定义性能设置。必须先清除或迁移这些应用程序级别设置,然后才能上载非默认模块。有关详细信息,请参阅管理控制台的应用程序设置页面的性能部分
所以我看了一下迁移到应用程序部分,下面是它的内容。
application: ********
# Other settings here...
instance_class: F2
automatic_scaling:
min_idle_instances: 1
max_idle_instances: 5
min_pending_latency: 5.0s
max_pending_latency: 7.7s
我已经尽可能接近导游了,我不确定我的app.yaml出了什么问题?我已经删除了所有其他的.yaml文件(我有一个pdf.yaml[模块]和一个dispatch.yaml),它在本地开发机器上启动得很好,但当我调用appcfg.py更新app.yaml时,我刚刚被告知我的自定义性能设置有问题,任何帮助都将不胜感激
有趣的是,每次我发布到Stackoverflow时,我总是很快找到解决方案(顺便说一句,我已经尝试解决这个问题好几天了)
您必须在"旧设置"页面上将所有应用程序设置设置为"自动",模块就会突然工作起来。
干杯