elasticDynamoDb 1.5.1 → 1.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72b0aa165084904cb967ad464906a5c80e64b74e
4
- data.tar.gz: de2d3e87872d5dccb800c8eba63274089303261d
3
+ metadata.gz: b7a4bf8b1c7c55935010ada407352b274a4d17ba
4
+ data.tar.gz: e6d89884ed649a0d8e579f88cf34d7ae30d578c0
5
5
  SHA512:
6
- metadata.gz: f091ff1b1669e000a0921814498a5c9df3c2594b90f3902530a9cd55311c781c363507c5ba425f7ebd4c29b67a0cb6c85c0d48576ac13b18a2902afe2a17c64b
7
- data.tar.gz: 8c8ffad1c546171b41b5a0e74fa4635704e2071f0474872d39e27850c99263f27640dd021c2851ded590f95df93605901a42eb9a0d1e53f98d826377aa1b73c0
6
+ metadata.gz: 4fd0682d41870756a21424f9f04acc92be6c40047f863680b9a5b082fda44dda9ba894b408ddd086a68bbab16e7f320c2738b29b660427245d982262431985d7
7
+ data.tar.gz: c901e46e1ff3faf4fcb50c20ea27696236334d1d92cfe1d9b96fdb224d010c7eae0455ce9ae5957b3eb52adbbcd1650f9f31588f656b5ee2a46142777b50b497
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  a wrapper tool to help with large planned traffic spike in combination with [dynamic-dynamodb](https://github.com/sebdah/dynamic-dynamodb)
4
4
 
5
- now supporting resetting CloudWatch alarms on table updates
5
+ now supporting resetting CloudWatch alarms on table updates (for 5 minutes instead of the default 60min)
6
6
 
7
7
 
8
8
  [dynamic-dynamodb](https://github.com/sebdah/dynamic-dynamodb) tool is great for autoscaling but it has a few limitation:
@@ -1,5 +1,5 @@
1
1
  module ElasticDynamoDb
2
- VERSION = "1.5.1"
2
+ VERSION = "1.5.2"
3
3
  ABOUT = "ElasticDynamoDb v#{VERSION} (c) #{Time.now.strftime("2014-%Y")} @innovia"
4
4
 
5
5
  autoload :Cli, 'elasticDynamoDb/cli'
@@ -26,10 +26,10 @@ module ElasticDynamoDb::Cli::CloudWatch
26
26
  value: table_options[:table_name]
27
27
  }
28
28
  ],
29
- period: 60,
29
+ period: 300,
30
30
  unit: "Count",
31
31
  threshold: threshold,
32
- evaluation_periods: 5,
32
+ evaluation_periods: 1,
33
33
  comparison_operator: "GreaterThanOrEqualToThreshold"
34
34
  }
35
35
  self.cw.put_metric_alarm(cw_options)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticDynamoDb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ami Mahloof