Skip to content

Commit 273c071

Browse files
committed
Merge remote-tracking branch 'origin/main' into molly/global-context-part-2
2 parents 199b6e8 + 0db864c commit 273c071

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

org-code-javabuilder/protocol/src/main/java/org/code/protocol/JavabuilderContext.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
import java.util.HashMap;
44
import java.util.Map;
55

6+
/**
7+
* This class is meant to keep track of shared singletons that should only exist for the lifetime of
8+
* one Javabuilder session. Any class can be registered as long as it extends
9+
* JavabuilderSharedObject, but only one object per class can be registered.
10+
*/
611
public class JavabuilderContext {
712
private static JavabuilderContext contextInstance;
813
private Map<Class, JavabuilderSharedObject> sharedObjects;

template.yml.erb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,12 @@ Resources:
652652

653653
HighUsageCompositeAlarm:
654654
Type: AWS::CloudWatch::CompositeAlarm
655+
DependsOn:
656+
- HighHttpRequestsAlarm
657+
- HighWebsocketConnectionsAlarm
658+
- NeighborhoodHighInvocationsAlarm
659+
- TheaterHighInvocationsAlarm
660+
- PlaygroundHighInvocationsAlarm
655661
Properties:
656662
ActionsEnabled: true
657663
AlarmActions:

0 commit comments

Comments
 (0)