elasticDynamoDb 1.4.1 → 1.4.2
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/lib/elasticDynamoDb/cli.rb +2 -2
- data/lib/elasticDynamoDb.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3e141d1b383dc91f130bb2cced514154efaacbf
|
|
4
|
+
data.tar.gz: cccbf958b309bf07b3ca5050b96171b913463b71
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 385a80033cc3d16b2018ee21d8abd3d564492c7ea45e3f3e13dcb3b364074d9dfbef0c1c3b5f5f10172fe64a5e10e31f57ce9988c7a8e5fb50f33f64ff4f1da3
|
|
7
|
+
data.tar.gz: ef9448d2161f9defd8fd25169b5c69bffca18f712c4ff41a359a4d65b0cbb8f417be07006b36bf99bdd139bc46ea4e7e3b82e1855759b0cc654bbf94c6ecddf3
|
data/lib/elasticDynamoDb/cli.rb
CHANGED
|
@@ -131,8 +131,8 @@ private
|
|
|
131
131
|
say("Current min-read from #{options[:config_file]}: #{min_reads}")
|
|
132
132
|
say("Current min-write from #{options[:config_file]}: #{min_writes}")
|
|
133
133
|
|
|
134
|
-
self.config[prefix]['min-provisioned-reads'] = (min_reads * scale_factor).
|
|
135
|
-
self.config[prefix]['min-provisioned-writes'] = (min_writes * scale_factor).
|
|
134
|
+
self.config[prefix]['min-provisioned-reads'] = (min_reads * scale_factor).ceil
|
|
135
|
+
self.config[prefix]['min-provisioned-writes'] = (min_writes * scale_factor).ceil
|
|
136
136
|
|
|
137
137
|
say("New min reads: #{self.config[prefix]['min-provisioned-reads']}", color=:yellow)
|
|
138
138
|
say("New min writes: #{self.config[prefix]['min-provisioned-writes']}", color=:yellow)
|
data/lib/elasticDynamoDb.rb
CHANGED