Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Component
Name: devscomp/lambda
Provider:
- AWS
Version: 1.0.1
Version: 1.0.2
Description: 快速部署 Lambda 到 AWS
HomePage: https://github.com/Serverless-Devs-Awesome/lambda-aws-component
Tags:
Expand Down
4 changes: 2 additions & 2 deletions src/utils/handlerRequest/function.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ class Function {
if (!functionInput.Role) {
retry = 5;
functionInput.Role = await this.createRole(functionName);
Logger.log('Start trying to create functions after 6 seconds of sleep.', 'yellow');
await sleep(6000);
Logger.log('Start trying to create functions after 10 seconds of sleep.', 'yellow');
await sleep(10 * 1000);
}

try {
Expand Down