jets 0.5.6 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/lib/jets/builders/code_builder.rb +1 -1
- data/lib/jets/cfn/template_builders/function_properties/base_builder.rb +1 -1
- data/lib/jets/commands/templates/skeleton/config/application.rb.tt +1 -1
- data/lib/jets/default/application.rb +4 -2
- data/lib/jets/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 30764a97a78a66b7e8f03ab15caca32479b103f164ae76c48bef2b0f5a064663
|
|
4
|
+
data.tar.gz: 6c8b2922c4abe2933710359708aa79e542d0059fb662fefcb1f6390c941c44de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4d0e78d76760c2c295341faf4a5062f517a838d43acbfb983ad9073360318647730818dc41bdc60d87bc2fd8135e40a2818dbd33184a910aea0acee92bda03b
|
|
7
|
+
data.tar.gz: 45074a2a2b73046753f1ccdb603c4f5ccbf45b476d4be03c698408a034f26982f1e38119cc7a84b031bae695b0ddf9c929971084753de57706e5e8d6e861f06e
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
|
5
5
|
|
|
6
|
+
## [0.5.7]
|
|
7
|
+
- adjust default function memory size to 1536
|
|
8
|
+
|
|
6
9
|
## [0.5.6]
|
|
7
10
|
- use Lambdagem.log_level = :info
|
|
8
11
|
|
data/Gemfile.lock
CHANGED
|
@@ -55,7 +55,7 @@ module Jets::Cfn::TemplateBuilders::FunctionProperties
|
|
|
55
55
|
# config.function = ActiveSupport::OrderedOptions.new
|
|
56
56
|
# config.function.timeout = 10
|
|
57
57
|
# config.function.runtime = "nodejs8.10"
|
|
58
|
-
# config.function.memory_size =
|
|
58
|
+
# config.function.memory_size = 1536
|
|
59
59
|
# end
|
|
60
60
|
def global_properties
|
|
61
61
|
baseline = {
|
|
@@ -8,7 +8,7 @@ Jets.application.configure do
|
|
|
8
8
|
|
|
9
9
|
config.function.timeout = 10
|
|
10
10
|
# config.function.role = "arn:aws:iam::#{ENV['AWS_ACCOUNT_ID']}:role/service-role/pre-created"
|
|
11
|
-
# config.function.memory_size=
|
|
11
|
+
# config.function.memory_size= 1536
|
|
12
12
|
# config.function.cors = true
|
|
13
13
|
config.function.environment = {
|
|
14
14
|
global_app_key1: "global_app_value1",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Jets.application.configure do
|
|
2
|
-
config.project_name = "
|
|
2
|
+
config.project_name = "project"
|
|
3
3
|
# config.env_extra = 2 # Optional. Any value works: 1,2,abc,xyz
|
|
4
4
|
# Allows creation of multiple instances of env.
|
|
5
5
|
config.cors = true
|
|
@@ -15,6 +15,8 @@ Jets.application.configure do
|
|
|
15
15
|
# function properties defaults
|
|
16
16
|
config.function = ActiveSupport::OrderedOptions.new
|
|
17
17
|
config.function.timeout = 10
|
|
18
|
-
|
|
18
|
+
# default memory setting based on:
|
|
19
|
+
# https://medium.com/epsagon/how-to-make-lambda-faster-memory-performance-benchmark-be6ebc41f0fc
|
|
20
|
+
config.function.memory_size = 1536
|
|
19
21
|
end
|
|
20
22
|
|
data/lib/jets/version.rb
CHANGED