Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: 1.0.2 #3

Merged
merged 1 commit into from
Aug 3, 2022
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