Update serverless.yml

This commit is contained in:
Akira
2020-11-18 15:53:18 +08:00
committed by GitHub
parent a07ed1fb0f
commit 7962c99f71

View File

@@ -14,7 +14,7 @@ inputs:
region: ap-hongkong # 函数所在区域
description: This is a function in ${app} application.
memorySize: 128 # 内存大小单位MB
timeout: 6000 # 超时时间,单位秒
timeout: 900 # 超时时间,单位秒
events: # 触发器
- timer: # 定时触发器
parameters:
@@ -24,4 +24,4 @@ inputs:
argument: argument # 额外的参数
environment: # 环境变量
variables: # 环境变量对象
AAA: BBB # 不要删除,用来格式化对齐追加的变量的
AAA: BBB # 不要删除,用来格式化对齐追加的变量的