我可以在哪里设置Firebase云端函数的默认超时时间? [英] Where can I set the default timeout for Cloud Functions for Firebase?

查看:366
本文介绍了我可以在哪里设置Firebase云端函数的默认超时时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个云端函数需要在某些边缘情况下超过默认的60秒超时。

I have a Cloud Function that needs to run past the default 60 second timeout in some edge-cases.

问题是,虽然这个值可以在Google云开发者控制台的云端功能部分,它会在每次部署后恢复到原始默认值。

The issue is, while this value can be changed in the Cloud Functions section of the Google Cloud Developer Console, it reverts to the original default after each deploy.

有没有办法让更改保留在这个设置上在Firebase配置文件中的一个?

Is there a way I can persist the changes to this setting, perhaps in one of the Firebase configuration files?

推荐答案

默认的超时时间可以在这里改变 https://console.cloud.google.com/functions/list

选择功能> test function > edit > timeout

Default timeout can be changed here https://console.cloud.google.com/functions/list
select function >test function > edit > timeout

这篇关于我可以在哪里设置Firebase云端函数的默认超时时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆