gpt4 book ai didi

google-app-engine - 今天的 App Engine 部署异常缓慢?

转载 作者:行者123 更新时间:2023-12-04 06:07:08 24 4
gpt4 key购买 nike

我们有一个小的java项目需要部署它包括 9000 多个文件

命令:mvn gcloud:部署

但是我得到了日志:

    ...
[INFO] INFO: Uploading [/home/steven/work/idigisign/target/appengine-staging/__static__/node_modules/rx/src/core/linq/observable/when.js] to [7dfb30ad32893c5042dba03601f006a40419fab0]
[INFO] DEBUG: Uploading [/home/steven/work/idigisign/target/appengine-staging/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js] to [7e0725897d7b99c3c33b56915d202e2dde552ea9]
[INFO] INFO: Uploading [/home/steven/work/idigisign/target/appengine-staging/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js] to [7e0725897d7b99c3c33b56915d202e2dde552ea9]
[INFO] DEBUG: Uploading [/home/steven/work/idigisign/target/appengine-staging/node_modules/is-redirect/index.js] to [7e0afe4775bf7f8558665760171c01948c22f771]
[INFO] INFO: Uploading [/home/steven/work/idigisign/target/appengine-staging/node_modules/is-redirect/index.js] to [7e0afe4775bf7f8558665760171c01948c22f771]
[INFO] DEBUG: Uploading [/home/steven/work/idigisign/target/appengine-staging/node_modules/rxjs/src/util/Map.ts] to [7e11722f4cd9ce91ec99b97710fbc4e7f40be09d]
...

每分钟约 50 个所以它将花费 180 分钟...

速度特别慢

谁能帮帮我?

最佳答案

设置环境变量CLOUDSDK_APP_USE_GSUTIL=1再试;这使用不太可靠但速度更快的文件上传代码路径(有计划加快默认代码路径)。

关于google-app-engine - 今天的 App Engine 部署异常缓慢?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37659318/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com