@daocloud-proto/skoala 0.22.1-6 → 0.22.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.
|
@@ -28,6 +28,11 @@ export enum MachineType {
|
|
|
28
28
|
EMBEDDED = "EMBEDDED",
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
export enum ThresholdType {
|
|
32
|
+
SHARED = "SHARED",
|
|
33
|
+
OVERALL = "OVERALL",
|
|
34
|
+
}
|
|
35
|
+
|
|
31
36
|
export enum HostedQuery {
|
|
32
37
|
ALL = "ALL",
|
|
33
38
|
NOT_HOSTED = "NOT_HOSTED",
|
|
@@ -255,6 +260,12 @@ export type FlowRule = {
|
|
|
255
260
|
warmUpPeriodSec?: number
|
|
256
261
|
maxQueueingTimeMs?: number
|
|
257
262
|
clusterMode?: boolean
|
|
263
|
+
clusterConfig?: ClusterFlowConfig
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export type ClusterFlowConfig = {
|
|
267
|
+
thresholdType?: ThresholdType
|
|
268
|
+
fallbackToLocalWhenFail?: boolean
|
|
258
269
|
}
|
|
259
270
|
|
|
260
271
|
export type CreateFlowRuleReq = {
|