【发布时间】:2017-09-05 20:00:26
【问题描述】:
我想使用谷歌云功能来更新一个存在于 heroku 上的附加数据库,因为 firebase realtime database 没有删除它。
但是,heroku 上接受的并发连接是有限制的,所以我想知道其中有多少将通过云功能打开?是 1 吗?没有限制吗?
我的函数中有这样的东西
import { Pool } from 'pg';
const pool = new Pool(connectionString);
exports.onAuth = functions.auth.user().onCreate(event => {
pool.query(...)
});
【问题讨论】:
标签: firebase heroku google-cloud-functions