我最近将类从F1更改为F2,但没有注意到现有实例已重新启动。因此,我手动关闭所有现有实例,希望所有新实例都是F2s。如何判断正在运行的实例是哪个实例类?我在实例UI或日志中找不到任何东西来确认正在运行的实例的实例类。根据the docs
You can change the current frontend instance class for your app at any time. Python and Go apps automatically get the new instance class that you choose. A Java app must be restarted to get the new instance class.
如何在GAE上重新启动Java应用程序?这是否意味着只有新实例会受到更改的影响?或者我甚至需要重新部署我的应用程序?你知道吗
您需要重新启动实例以使实例类更改生效。一个快速的方法是在管理控制台的instance页面中为每个正在运行的实例点击shutdown按钮。你知道吗
似乎没有办法从API或环境变量确定正在运行的实例的类。你知道吗
相关问题 更多 >
编程相关推荐