Skip to content

Commit

Permalink
Update EventBridge rule for scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Oct 12, 2023
1 parent 1b2d33f commit eaae6e4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions spire/templates/apps/dovetail-router.yml
Original file line number Diff line number Diff line change
Expand Up @@ -922,15 +922,10 @@ Resources:
Properties:
Pattern:
detail:
bucket:
name:
- !Select [5, !Split [":", !Ref FeedsS3BucketArn]]
object:
key:
- 815/feed-rss.xml
- 284/feed-rss.xml
- 70/feed-rss.xml
- criminal/feed-rss.xml
- themoth/feed-rss.xml
detail-type:
- Object Created
Expand All @@ -947,9 +942,8 @@ Resources:
const CLUSTER_NAME = process.env.ECS_CLUSTER_NAME;
const SERVICE_NAME = process.env.ECS_SERVICE_NAME;
const SCALE_TO = {
'815/feed-rss.xml': 4,
'284/feed-rss.xml': 8,
'70/feed-rss.xml': 20,
'criminal/feed-rss.xml': 16,
'themoth/feed-rss.xml': 20,
};
Expand Down

0 comments on commit eaae6e4

Please sign in to comment.