【问题标题】:PHP - Google App Engine app.yaml "has custom peformance settings"PHP - Google App Engine app.yaml“具有自定义性能设置”
【发布时间】:2015-04-07 02:58:23
【问题描述】:

我正在尝试将其作为我的 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 时——我得到了告诉我自定义性能设置的问题,任何帮助将不胜感激

【问题讨论】:

    标签: php google-app-engine


    【解决方案1】:

    每次我在 Stackoverflow 上发帖都很有趣,我总是很快就能找到解决方案(顺便说一句,我已经尝试解决这个问题好几天了)

    您必须在旧设置页面上将所有应用程序设置设置为自动,然后模块突然工作。

    干杯

    【讨论】:

      猜你喜欢
      • 2013-04-09
      • 2015-05-15
      • 2014-02-01
      • 1970-01-01
      • 1970-01-01
      • 2020-03-19
      • 2021-10-14
      • 2014-11-14
      • 2015-02-24
      相关资源
      最近更新 更多