forked from active-elastic-job/active-elastic-job
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix active-elastic-job#51 Add lazy loading of AWS credential configur…
…ation The default configuration of AWS credentials for this gem uses AWS instance profiles for retrieving credentials. It seems that `Aws::InstanceProfileCredentials.new` is blocking if not executed on an actual EC2 instance, which consequently impacts the startup time of the application. Therefore, we postpone the initialization of the credential configuration to when it's actually needed in the queue adapter.
- Loading branch information
Showing
3 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters