Skip to content

Commit

Permalink
Merge pull request #3 from wss-git/master
Browse files Browse the repository at this point in the history
build: 1.0.2
  • Loading branch information
anycodes authored Aug 3, 2022
2 parents 50b531b + 564a3e6 commit b395349
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit b395349

Please sign in to comment.