From 0535bf6f4521b5b18afdccd76554be082c7ca9d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BA=9A=E7=90=AA?= Date: Wed, 13 Jul 2022 20:11:13 +0800 Subject: [PATCH] docs: update event size --- docs/uniCloud/cf-callfunction.md | 2 +- docs/uniCloud/cloud-obj.md | 2 +- docs/uniCloud/price.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/uniCloud/cf-callfunction.md b/docs/uniCloud/cf-callfunction.md index f6cdc5823..a2a75788b 100644 --- a/docs/uniCloud/cf-callfunction.md +++ b/docs/uniCloud/cf-callfunction.md @@ -109,7 +109,7 @@ exports.main = async (event, context) => { 云函数上行的参数内容不能传太大。 - 阿里云event大小不可超过1MB -- 腾讯云event大小不可超过6MB +- 腾讯云event大小不可超过5MB ### context对象@context diff --git a/docs/uniCloud/cloud-obj.md b/docs/uniCloud/cloud-obj.md index 0d9d1feda..91019ff82 100644 --- a/docs/uniCloud/cloud-obj.md +++ b/docs/uniCloud/cloud-obj.md @@ -566,7 +566,7 @@ const res = await todo.add('title demo', 'content demo') ### 云对象的接收参数的体积上限 - 阿里云接收参数大小不可超过1MB -- 腾讯云接收参数大小不可超过6MB +- 腾讯云接收参数大小不可超过5MB 由于传输层还有上下文环境信息,所以开发者给云对象发送参数时需注意控制参数体积 diff --git a/docs/uniCloud/price.md b/docs/uniCloud/price.md index fe8926db6..d481cb42f 100644 --- a/docs/uniCloud/price.md +++ b/docs/uniCloud/price.md @@ -70,7 +70,7 @@ uniCloud提供包月、按量计费两种计费方式(仅腾讯云),具体 | |单个函数的环境变量大小 |4KB | | |内存分配 |最小128MB ,最大2,048MB | | |超时时间 |最小1秒,最大60秒 | -| |同步请求事件大小 |6MB | +| |同步请求事件大小 |5MB | | |同步请求响应大小 |6MB | | |固定外网 IP 数量 |5个 | | |云函数实例扩容速度 |500个/分钟 | -- GitLab