@okf/ootils 1.32.2 → 1.32.3
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.
- package/dist/browser.d.mts +83 -3
- package/dist/browser.d.ts +83 -3
- package/dist/browser.js +52 -0
- package/dist/browser.mjs +52 -0
- package/dist/node.d.mts +83 -3
- package/dist/node.d.ts +83 -3
- package/dist/node.js +52 -0
- package/dist/node.mjs +52 -0
- package/dist/universal.d.mts +83 -3
- package/dist/universal.d.ts +83 -3
- package/dist/universal.js +52 -0
- package/dist/universal.mjs +52 -0
- package/package.json +1 -1
package/dist/browser.d.mts
CHANGED
|
@@ -797,7 +797,7 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
797
797
|
}
|
|
798
798
|
export { workerConfig_12 as workerConfig };
|
|
799
799
|
}
|
|
800
|
-
namespace
|
|
800
|
+
namespace TAG_SYNC_PLAN_QUEUE {
|
|
801
801
|
let id_13: string;
|
|
802
802
|
export { id_13 as id };
|
|
803
803
|
export namespace queueConfig_13 {
|
|
@@ -811,8 +811,6 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
811
811
|
export { delay_13 as delay };
|
|
812
812
|
}
|
|
813
813
|
export { backoff_13 as backoff };
|
|
814
|
-
let delay_14: number;
|
|
815
|
-
export { delay_14 as delay };
|
|
816
814
|
let removeOnComplete_13: number;
|
|
817
815
|
export { removeOnComplete_13 as removeOnComplete };
|
|
818
816
|
let removeOnFail_13: number;
|
|
@@ -839,6 +837,88 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
839
837
|
}
|
|
840
838
|
export { workerConfig_13 as workerConfig };
|
|
841
839
|
}
|
|
840
|
+
namespace TAG_SYNC_BATCH_QUEUE {
|
|
841
|
+
let id_14: string;
|
|
842
|
+
export { id_14 as id };
|
|
843
|
+
export namespace queueConfig_14 {
|
|
844
|
+
export namespace defaultJobOptions_14 {
|
|
845
|
+
let attempts_14: number;
|
|
846
|
+
export { attempts_14 as attempts };
|
|
847
|
+
export namespace backoff_14 {
|
|
848
|
+
let type_14: string;
|
|
849
|
+
export { type_14 as type };
|
|
850
|
+
let delay_14: number;
|
|
851
|
+
export { delay_14 as delay };
|
|
852
|
+
}
|
|
853
|
+
export { backoff_14 as backoff };
|
|
854
|
+
let removeOnComplete_14: number;
|
|
855
|
+
export { removeOnComplete_14 as removeOnComplete };
|
|
856
|
+
let removeOnFail_14: number;
|
|
857
|
+
export { removeOnFail_14 as removeOnFail };
|
|
858
|
+
}
|
|
859
|
+
export { defaultJobOptions_14 as defaultJobOptions };
|
|
860
|
+
export namespace streams_14 {
|
|
861
|
+
export namespace events_14 {
|
|
862
|
+
let maxLen_14: number;
|
|
863
|
+
export { maxLen_14 as maxLen };
|
|
864
|
+
}
|
|
865
|
+
export { events_14 as events };
|
|
866
|
+
}
|
|
867
|
+
export { streams_14 as streams };
|
|
868
|
+
}
|
|
869
|
+
export { queueConfig_14 as queueConfig };
|
|
870
|
+
export namespace workerConfig_14 {
|
|
871
|
+
let concurrency_14: number;
|
|
872
|
+
export { concurrency_14 as concurrency };
|
|
873
|
+
let lockDuration_14: number;
|
|
874
|
+
export { lockDuration_14 as lockDuration };
|
|
875
|
+
let maxStalledCount_14: number;
|
|
876
|
+
export { maxStalledCount_14 as maxStalledCount };
|
|
877
|
+
}
|
|
878
|
+
export { workerConfig_14 as workerConfig };
|
|
879
|
+
}
|
|
880
|
+
namespace REINDEX_QUEUE {
|
|
881
|
+
let id_15: string;
|
|
882
|
+
export { id_15 as id };
|
|
883
|
+
export namespace queueConfig_15 {
|
|
884
|
+
export namespace defaultJobOptions_15 {
|
|
885
|
+
let attempts_15: number;
|
|
886
|
+
export { attempts_15 as attempts };
|
|
887
|
+
export namespace backoff_15 {
|
|
888
|
+
let type_15: string;
|
|
889
|
+
export { type_15 as type };
|
|
890
|
+
let delay_15: number;
|
|
891
|
+
export { delay_15 as delay };
|
|
892
|
+
}
|
|
893
|
+
export { backoff_15 as backoff };
|
|
894
|
+
let delay_16: number;
|
|
895
|
+
export { delay_16 as delay };
|
|
896
|
+
let removeOnComplete_15: number;
|
|
897
|
+
export { removeOnComplete_15 as removeOnComplete };
|
|
898
|
+
let removeOnFail_15: number;
|
|
899
|
+
export { removeOnFail_15 as removeOnFail };
|
|
900
|
+
}
|
|
901
|
+
export { defaultJobOptions_15 as defaultJobOptions };
|
|
902
|
+
export namespace streams_15 {
|
|
903
|
+
export namespace events_15 {
|
|
904
|
+
let maxLen_15: number;
|
|
905
|
+
export { maxLen_15 as maxLen };
|
|
906
|
+
}
|
|
907
|
+
export { events_15 as events };
|
|
908
|
+
}
|
|
909
|
+
export { streams_15 as streams };
|
|
910
|
+
}
|
|
911
|
+
export { queueConfig_15 as queueConfig };
|
|
912
|
+
export namespace workerConfig_15 {
|
|
913
|
+
let concurrency_15: number;
|
|
914
|
+
export { concurrency_15 as concurrency };
|
|
915
|
+
let lockDuration_15: number;
|
|
916
|
+
export { lockDuration_15 as lockDuration };
|
|
917
|
+
let maxStalledCount_15: number;
|
|
918
|
+
export { maxStalledCount_15 as maxStalledCount };
|
|
919
|
+
}
|
|
920
|
+
export { workerConfig_15 as workerConfig };
|
|
921
|
+
}
|
|
842
922
|
}
|
|
843
923
|
|
|
844
924
|
interface PlatformContextContentItem {
|
package/dist/browser.d.ts
CHANGED
|
@@ -797,7 +797,7 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
797
797
|
}
|
|
798
798
|
export { workerConfig_12 as workerConfig };
|
|
799
799
|
}
|
|
800
|
-
namespace
|
|
800
|
+
namespace TAG_SYNC_PLAN_QUEUE {
|
|
801
801
|
let id_13: string;
|
|
802
802
|
export { id_13 as id };
|
|
803
803
|
export namespace queueConfig_13 {
|
|
@@ -811,8 +811,6 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
811
811
|
export { delay_13 as delay };
|
|
812
812
|
}
|
|
813
813
|
export { backoff_13 as backoff };
|
|
814
|
-
let delay_14: number;
|
|
815
|
-
export { delay_14 as delay };
|
|
816
814
|
let removeOnComplete_13: number;
|
|
817
815
|
export { removeOnComplete_13 as removeOnComplete };
|
|
818
816
|
let removeOnFail_13: number;
|
|
@@ -839,6 +837,88 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
839
837
|
}
|
|
840
838
|
export { workerConfig_13 as workerConfig };
|
|
841
839
|
}
|
|
840
|
+
namespace TAG_SYNC_BATCH_QUEUE {
|
|
841
|
+
let id_14: string;
|
|
842
|
+
export { id_14 as id };
|
|
843
|
+
export namespace queueConfig_14 {
|
|
844
|
+
export namespace defaultJobOptions_14 {
|
|
845
|
+
let attempts_14: number;
|
|
846
|
+
export { attempts_14 as attempts };
|
|
847
|
+
export namespace backoff_14 {
|
|
848
|
+
let type_14: string;
|
|
849
|
+
export { type_14 as type };
|
|
850
|
+
let delay_14: number;
|
|
851
|
+
export { delay_14 as delay };
|
|
852
|
+
}
|
|
853
|
+
export { backoff_14 as backoff };
|
|
854
|
+
let removeOnComplete_14: number;
|
|
855
|
+
export { removeOnComplete_14 as removeOnComplete };
|
|
856
|
+
let removeOnFail_14: number;
|
|
857
|
+
export { removeOnFail_14 as removeOnFail };
|
|
858
|
+
}
|
|
859
|
+
export { defaultJobOptions_14 as defaultJobOptions };
|
|
860
|
+
export namespace streams_14 {
|
|
861
|
+
export namespace events_14 {
|
|
862
|
+
let maxLen_14: number;
|
|
863
|
+
export { maxLen_14 as maxLen };
|
|
864
|
+
}
|
|
865
|
+
export { events_14 as events };
|
|
866
|
+
}
|
|
867
|
+
export { streams_14 as streams };
|
|
868
|
+
}
|
|
869
|
+
export { queueConfig_14 as queueConfig };
|
|
870
|
+
export namespace workerConfig_14 {
|
|
871
|
+
let concurrency_14: number;
|
|
872
|
+
export { concurrency_14 as concurrency };
|
|
873
|
+
let lockDuration_14: number;
|
|
874
|
+
export { lockDuration_14 as lockDuration };
|
|
875
|
+
let maxStalledCount_14: number;
|
|
876
|
+
export { maxStalledCount_14 as maxStalledCount };
|
|
877
|
+
}
|
|
878
|
+
export { workerConfig_14 as workerConfig };
|
|
879
|
+
}
|
|
880
|
+
namespace REINDEX_QUEUE {
|
|
881
|
+
let id_15: string;
|
|
882
|
+
export { id_15 as id };
|
|
883
|
+
export namespace queueConfig_15 {
|
|
884
|
+
export namespace defaultJobOptions_15 {
|
|
885
|
+
let attempts_15: number;
|
|
886
|
+
export { attempts_15 as attempts };
|
|
887
|
+
export namespace backoff_15 {
|
|
888
|
+
let type_15: string;
|
|
889
|
+
export { type_15 as type };
|
|
890
|
+
let delay_15: number;
|
|
891
|
+
export { delay_15 as delay };
|
|
892
|
+
}
|
|
893
|
+
export { backoff_15 as backoff };
|
|
894
|
+
let delay_16: number;
|
|
895
|
+
export { delay_16 as delay };
|
|
896
|
+
let removeOnComplete_15: number;
|
|
897
|
+
export { removeOnComplete_15 as removeOnComplete };
|
|
898
|
+
let removeOnFail_15: number;
|
|
899
|
+
export { removeOnFail_15 as removeOnFail };
|
|
900
|
+
}
|
|
901
|
+
export { defaultJobOptions_15 as defaultJobOptions };
|
|
902
|
+
export namespace streams_15 {
|
|
903
|
+
export namespace events_15 {
|
|
904
|
+
let maxLen_15: number;
|
|
905
|
+
export { maxLen_15 as maxLen };
|
|
906
|
+
}
|
|
907
|
+
export { events_15 as events };
|
|
908
|
+
}
|
|
909
|
+
export { streams_15 as streams };
|
|
910
|
+
}
|
|
911
|
+
export { queueConfig_15 as queueConfig };
|
|
912
|
+
export namespace workerConfig_15 {
|
|
913
|
+
let concurrency_15: number;
|
|
914
|
+
export { concurrency_15 as concurrency };
|
|
915
|
+
let lockDuration_15: number;
|
|
916
|
+
export { lockDuration_15 as lockDuration };
|
|
917
|
+
let maxStalledCount_15: number;
|
|
918
|
+
export { maxStalledCount_15 as maxStalledCount };
|
|
919
|
+
}
|
|
920
|
+
export { workerConfig_15 as workerConfig };
|
|
921
|
+
}
|
|
842
922
|
}
|
|
843
923
|
|
|
844
924
|
interface PlatformContextContentItem {
|
package/dist/browser.js
CHANGED
|
@@ -1140,6 +1140,58 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
1140
1140
|
maxStalledCount: 3
|
|
1141
1141
|
}
|
|
1142
1142
|
},
|
|
1143
|
+
TAG_SYNC_PLAN_QUEUE: {
|
|
1144
|
+
id: "tag-sync-plan-queue",
|
|
1145
|
+
queueConfig: {
|
|
1146
|
+
defaultJobOptions: {
|
|
1147
|
+
attempts: 3,
|
|
1148
|
+
backoff: {
|
|
1149
|
+
type: "exponential",
|
|
1150
|
+
delay: 5e3
|
|
1151
|
+
},
|
|
1152
|
+
removeOnComplete: 30,
|
|
1153
|
+
removeOnFail: 100
|
|
1154
|
+
},
|
|
1155
|
+
streams: {
|
|
1156
|
+
events: {
|
|
1157
|
+
maxLen: 10
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
},
|
|
1161
|
+
workerConfig: {
|
|
1162
|
+
concurrency: 5,
|
|
1163
|
+
// Planner is read-only + enqueues, light enough to parallelize
|
|
1164
|
+
lockDuration: 12e4,
|
|
1165
|
+
// 2 min — template scan + ID collection
|
|
1166
|
+
maxStalledCount: 3
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
TAG_SYNC_BATCH_QUEUE: {
|
|
1170
|
+
id: "tag-sync-batch-queue",
|
|
1171
|
+
queueConfig: {
|
|
1172
|
+
defaultJobOptions: {
|
|
1173
|
+
attempts: 3,
|
|
1174
|
+
backoff: {
|
|
1175
|
+
type: "exponential",
|
|
1176
|
+
delay: 5e3
|
|
1177
|
+
},
|
|
1178
|
+
removeOnComplete: 30,
|
|
1179
|
+
removeOnFail: 100
|
|
1180
|
+
},
|
|
1181
|
+
streams: {
|
|
1182
|
+
events: {
|
|
1183
|
+
maxLen: 10
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
},
|
|
1187
|
+
workerConfig: {
|
|
1188
|
+
concurrency: 10,
|
|
1189
|
+
// Each batch is ~100 docs of writes + downstream enqueues
|
|
1190
|
+
lockDuration: 18e4,
|
|
1191
|
+
// 3 min — enough for anno-level bulkWrite + downstream dispatch
|
|
1192
|
+
maxStalledCount: 3
|
|
1193
|
+
}
|
|
1194
|
+
},
|
|
1143
1195
|
REINDEX_QUEUE: {
|
|
1144
1196
|
id: "reindex-queue",
|
|
1145
1197
|
queueConfig: {
|
package/dist/browser.mjs
CHANGED
|
@@ -1072,6 +1072,58 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
1072
1072
|
maxStalledCount: 3
|
|
1073
1073
|
}
|
|
1074
1074
|
},
|
|
1075
|
+
TAG_SYNC_PLAN_QUEUE: {
|
|
1076
|
+
id: "tag-sync-plan-queue",
|
|
1077
|
+
queueConfig: {
|
|
1078
|
+
defaultJobOptions: {
|
|
1079
|
+
attempts: 3,
|
|
1080
|
+
backoff: {
|
|
1081
|
+
type: "exponential",
|
|
1082
|
+
delay: 5e3
|
|
1083
|
+
},
|
|
1084
|
+
removeOnComplete: 30,
|
|
1085
|
+
removeOnFail: 100
|
|
1086
|
+
},
|
|
1087
|
+
streams: {
|
|
1088
|
+
events: {
|
|
1089
|
+
maxLen: 10
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
},
|
|
1093
|
+
workerConfig: {
|
|
1094
|
+
concurrency: 5,
|
|
1095
|
+
// Planner is read-only + enqueues, light enough to parallelize
|
|
1096
|
+
lockDuration: 12e4,
|
|
1097
|
+
// 2 min — template scan + ID collection
|
|
1098
|
+
maxStalledCount: 3
|
|
1099
|
+
}
|
|
1100
|
+
},
|
|
1101
|
+
TAG_SYNC_BATCH_QUEUE: {
|
|
1102
|
+
id: "tag-sync-batch-queue",
|
|
1103
|
+
queueConfig: {
|
|
1104
|
+
defaultJobOptions: {
|
|
1105
|
+
attempts: 3,
|
|
1106
|
+
backoff: {
|
|
1107
|
+
type: "exponential",
|
|
1108
|
+
delay: 5e3
|
|
1109
|
+
},
|
|
1110
|
+
removeOnComplete: 30,
|
|
1111
|
+
removeOnFail: 100
|
|
1112
|
+
},
|
|
1113
|
+
streams: {
|
|
1114
|
+
events: {
|
|
1115
|
+
maxLen: 10
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
},
|
|
1119
|
+
workerConfig: {
|
|
1120
|
+
concurrency: 10,
|
|
1121
|
+
// Each batch is ~100 docs of writes + downstream enqueues
|
|
1122
|
+
lockDuration: 18e4,
|
|
1123
|
+
// 3 min — enough for anno-level bulkWrite + downstream dispatch
|
|
1124
|
+
maxStalledCount: 3
|
|
1125
|
+
}
|
|
1126
|
+
},
|
|
1075
1127
|
REINDEX_QUEUE: {
|
|
1076
1128
|
id: "reindex-queue",
|
|
1077
1129
|
queueConfig: {
|
package/dist/node.d.mts
CHANGED
|
@@ -804,7 +804,7 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
804
804
|
}
|
|
805
805
|
export { workerConfig_12 as workerConfig };
|
|
806
806
|
}
|
|
807
|
-
namespace
|
|
807
|
+
namespace TAG_SYNC_PLAN_QUEUE {
|
|
808
808
|
let id_13: string;
|
|
809
809
|
export { id_13 as id };
|
|
810
810
|
export namespace queueConfig_13 {
|
|
@@ -818,8 +818,6 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
818
818
|
export { delay_13 as delay };
|
|
819
819
|
}
|
|
820
820
|
export { backoff_13 as backoff };
|
|
821
|
-
let delay_14: number;
|
|
822
|
-
export { delay_14 as delay };
|
|
823
821
|
let removeOnComplete_13: number;
|
|
824
822
|
export { removeOnComplete_13 as removeOnComplete };
|
|
825
823
|
let removeOnFail_13: number;
|
|
@@ -846,6 +844,88 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
846
844
|
}
|
|
847
845
|
export { workerConfig_13 as workerConfig };
|
|
848
846
|
}
|
|
847
|
+
namespace TAG_SYNC_BATCH_QUEUE {
|
|
848
|
+
let id_14: string;
|
|
849
|
+
export { id_14 as id };
|
|
850
|
+
export namespace queueConfig_14 {
|
|
851
|
+
export namespace defaultJobOptions_14 {
|
|
852
|
+
let attempts_14: number;
|
|
853
|
+
export { attempts_14 as attempts };
|
|
854
|
+
export namespace backoff_14 {
|
|
855
|
+
let type_14: string;
|
|
856
|
+
export { type_14 as type };
|
|
857
|
+
let delay_14: number;
|
|
858
|
+
export { delay_14 as delay };
|
|
859
|
+
}
|
|
860
|
+
export { backoff_14 as backoff };
|
|
861
|
+
let removeOnComplete_14: number;
|
|
862
|
+
export { removeOnComplete_14 as removeOnComplete };
|
|
863
|
+
let removeOnFail_14: number;
|
|
864
|
+
export { removeOnFail_14 as removeOnFail };
|
|
865
|
+
}
|
|
866
|
+
export { defaultJobOptions_14 as defaultJobOptions };
|
|
867
|
+
export namespace streams_14 {
|
|
868
|
+
export namespace events_14 {
|
|
869
|
+
let maxLen_14: number;
|
|
870
|
+
export { maxLen_14 as maxLen };
|
|
871
|
+
}
|
|
872
|
+
export { events_14 as events };
|
|
873
|
+
}
|
|
874
|
+
export { streams_14 as streams };
|
|
875
|
+
}
|
|
876
|
+
export { queueConfig_14 as queueConfig };
|
|
877
|
+
export namespace workerConfig_14 {
|
|
878
|
+
let concurrency_14: number;
|
|
879
|
+
export { concurrency_14 as concurrency };
|
|
880
|
+
let lockDuration_14: number;
|
|
881
|
+
export { lockDuration_14 as lockDuration };
|
|
882
|
+
let maxStalledCount_14: number;
|
|
883
|
+
export { maxStalledCount_14 as maxStalledCount };
|
|
884
|
+
}
|
|
885
|
+
export { workerConfig_14 as workerConfig };
|
|
886
|
+
}
|
|
887
|
+
namespace REINDEX_QUEUE {
|
|
888
|
+
let id_15: string;
|
|
889
|
+
export { id_15 as id };
|
|
890
|
+
export namespace queueConfig_15 {
|
|
891
|
+
export namespace defaultJobOptions_15 {
|
|
892
|
+
let attempts_15: number;
|
|
893
|
+
export { attempts_15 as attempts };
|
|
894
|
+
export namespace backoff_15 {
|
|
895
|
+
let type_15: string;
|
|
896
|
+
export { type_15 as type };
|
|
897
|
+
let delay_15: number;
|
|
898
|
+
export { delay_15 as delay };
|
|
899
|
+
}
|
|
900
|
+
export { backoff_15 as backoff };
|
|
901
|
+
let delay_16: number;
|
|
902
|
+
export { delay_16 as delay };
|
|
903
|
+
let removeOnComplete_15: number;
|
|
904
|
+
export { removeOnComplete_15 as removeOnComplete };
|
|
905
|
+
let removeOnFail_15: number;
|
|
906
|
+
export { removeOnFail_15 as removeOnFail };
|
|
907
|
+
}
|
|
908
|
+
export { defaultJobOptions_15 as defaultJobOptions };
|
|
909
|
+
export namespace streams_15 {
|
|
910
|
+
export namespace events_15 {
|
|
911
|
+
let maxLen_15: number;
|
|
912
|
+
export { maxLen_15 as maxLen };
|
|
913
|
+
}
|
|
914
|
+
export { events_15 as events };
|
|
915
|
+
}
|
|
916
|
+
export { streams_15 as streams };
|
|
917
|
+
}
|
|
918
|
+
export { queueConfig_15 as queueConfig };
|
|
919
|
+
export namespace workerConfig_15 {
|
|
920
|
+
let concurrency_15: number;
|
|
921
|
+
export { concurrency_15 as concurrency };
|
|
922
|
+
let lockDuration_15: number;
|
|
923
|
+
export { lockDuration_15 as lockDuration };
|
|
924
|
+
let maxStalledCount_15: number;
|
|
925
|
+
export { maxStalledCount_15 as maxStalledCount };
|
|
926
|
+
}
|
|
927
|
+
export { workerConfig_15 as workerConfig };
|
|
928
|
+
}
|
|
849
929
|
}
|
|
850
930
|
|
|
851
931
|
interface PlatformContextContentItem {
|
package/dist/node.d.ts
CHANGED
|
@@ -804,7 +804,7 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
804
804
|
}
|
|
805
805
|
export { workerConfig_12 as workerConfig };
|
|
806
806
|
}
|
|
807
|
-
namespace
|
|
807
|
+
namespace TAG_SYNC_PLAN_QUEUE {
|
|
808
808
|
let id_13: string;
|
|
809
809
|
export { id_13 as id };
|
|
810
810
|
export namespace queueConfig_13 {
|
|
@@ -818,8 +818,6 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
818
818
|
export { delay_13 as delay };
|
|
819
819
|
}
|
|
820
820
|
export { backoff_13 as backoff };
|
|
821
|
-
let delay_14: number;
|
|
822
|
-
export { delay_14 as delay };
|
|
823
821
|
let removeOnComplete_13: number;
|
|
824
822
|
export { removeOnComplete_13 as removeOnComplete };
|
|
825
823
|
let removeOnFail_13: number;
|
|
@@ -846,6 +844,88 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
846
844
|
}
|
|
847
845
|
export { workerConfig_13 as workerConfig };
|
|
848
846
|
}
|
|
847
|
+
namespace TAG_SYNC_BATCH_QUEUE {
|
|
848
|
+
let id_14: string;
|
|
849
|
+
export { id_14 as id };
|
|
850
|
+
export namespace queueConfig_14 {
|
|
851
|
+
export namespace defaultJobOptions_14 {
|
|
852
|
+
let attempts_14: number;
|
|
853
|
+
export { attempts_14 as attempts };
|
|
854
|
+
export namespace backoff_14 {
|
|
855
|
+
let type_14: string;
|
|
856
|
+
export { type_14 as type };
|
|
857
|
+
let delay_14: number;
|
|
858
|
+
export { delay_14 as delay };
|
|
859
|
+
}
|
|
860
|
+
export { backoff_14 as backoff };
|
|
861
|
+
let removeOnComplete_14: number;
|
|
862
|
+
export { removeOnComplete_14 as removeOnComplete };
|
|
863
|
+
let removeOnFail_14: number;
|
|
864
|
+
export { removeOnFail_14 as removeOnFail };
|
|
865
|
+
}
|
|
866
|
+
export { defaultJobOptions_14 as defaultJobOptions };
|
|
867
|
+
export namespace streams_14 {
|
|
868
|
+
export namespace events_14 {
|
|
869
|
+
let maxLen_14: number;
|
|
870
|
+
export { maxLen_14 as maxLen };
|
|
871
|
+
}
|
|
872
|
+
export { events_14 as events };
|
|
873
|
+
}
|
|
874
|
+
export { streams_14 as streams };
|
|
875
|
+
}
|
|
876
|
+
export { queueConfig_14 as queueConfig };
|
|
877
|
+
export namespace workerConfig_14 {
|
|
878
|
+
let concurrency_14: number;
|
|
879
|
+
export { concurrency_14 as concurrency };
|
|
880
|
+
let lockDuration_14: number;
|
|
881
|
+
export { lockDuration_14 as lockDuration };
|
|
882
|
+
let maxStalledCount_14: number;
|
|
883
|
+
export { maxStalledCount_14 as maxStalledCount };
|
|
884
|
+
}
|
|
885
|
+
export { workerConfig_14 as workerConfig };
|
|
886
|
+
}
|
|
887
|
+
namespace REINDEX_QUEUE {
|
|
888
|
+
let id_15: string;
|
|
889
|
+
export { id_15 as id };
|
|
890
|
+
export namespace queueConfig_15 {
|
|
891
|
+
export namespace defaultJobOptions_15 {
|
|
892
|
+
let attempts_15: number;
|
|
893
|
+
export { attempts_15 as attempts };
|
|
894
|
+
export namespace backoff_15 {
|
|
895
|
+
let type_15: string;
|
|
896
|
+
export { type_15 as type };
|
|
897
|
+
let delay_15: number;
|
|
898
|
+
export { delay_15 as delay };
|
|
899
|
+
}
|
|
900
|
+
export { backoff_15 as backoff };
|
|
901
|
+
let delay_16: number;
|
|
902
|
+
export { delay_16 as delay };
|
|
903
|
+
let removeOnComplete_15: number;
|
|
904
|
+
export { removeOnComplete_15 as removeOnComplete };
|
|
905
|
+
let removeOnFail_15: number;
|
|
906
|
+
export { removeOnFail_15 as removeOnFail };
|
|
907
|
+
}
|
|
908
|
+
export { defaultJobOptions_15 as defaultJobOptions };
|
|
909
|
+
export namespace streams_15 {
|
|
910
|
+
export namespace events_15 {
|
|
911
|
+
let maxLen_15: number;
|
|
912
|
+
export { maxLen_15 as maxLen };
|
|
913
|
+
}
|
|
914
|
+
export { events_15 as events };
|
|
915
|
+
}
|
|
916
|
+
export { streams_15 as streams };
|
|
917
|
+
}
|
|
918
|
+
export { queueConfig_15 as queueConfig };
|
|
919
|
+
export namespace workerConfig_15 {
|
|
920
|
+
let concurrency_15: number;
|
|
921
|
+
export { concurrency_15 as concurrency };
|
|
922
|
+
let lockDuration_15: number;
|
|
923
|
+
export { lockDuration_15 as lockDuration };
|
|
924
|
+
let maxStalledCount_15: number;
|
|
925
|
+
export { maxStalledCount_15 as maxStalledCount };
|
|
926
|
+
}
|
|
927
|
+
export { workerConfig_15 as workerConfig };
|
|
928
|
+
}
|
|
849
929
|
}
|
|
850
930
|
|
|
851
931
|
interface PlatformContextContentItem {
|
package/dist/node.js
CHANGED
|
@@ -398,6 +398,58 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
398
398
|
maxStalledCount: 3
|
|
399
399
|
}
|
|
400
400
|
},
|
|
401
|
+
TAG_SYNC_PLAN_QUEUE: {
|
|
402
|
+
id: "tag-sync-plan-queue",
|
|
403
|
+
queueConfig: {
|
|
404
|
+
defaultJobOptions: {
|
|
405
|
+
attempts: 3,
|
|
406
|
+
backoff: {
|
|
407
|
+
type: "exponential",
|
|
408
|
+
delay: 5e3
|
|
409
|
+
},
|
|
410
|
+
removeOnComplete: 30,
|
|
411
|
+
removeOnFail: 100
|
|
412
|
+
},
|
|
413
|
+
streams: {
|
|
414
|
+
events: {
|
|
415
|
+
maxLen: 10
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
workerConfig: {
|
|
420
|
+
concurrency: 5,
|
|
421
|
+
// Planner is read-only + enqueues, light enough to parallelize
|
|
422
|
+
lockDuration: 12e4,
|
|
423
|
+
// 2 min — template scan + ID collection
|
|
424
|
+
maxStalledCount: 3
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
TAG_SYNC_BATCH_QUEUE: {
|
|
428
|
+
id: "tag-sync-batch-queue",
|
|
429
|
+
queueConfig: {
|
|
430
|
+
defaultJobOptions: {
|
|
431
|
+
attempts: 3,
|
|
432
|
+
backoff: {
|
|
433
|
+
type: "exponential",
|
|
434
|
+
delay: 5e3
|
|
435
|
+
},
|
|
436
|
+
removeOnComplete: 30,
|
|
437
|
+
removeOnFail: 100
|
|
438
|
+
},
|
|
439
|
+
streams: {
|
|
440
|
+
events: {
|
|
441
|
+
maxLen: 10
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
workerConfig: {
|
|
446
|
+
concurrency: 10,
|
|
447
|
+
// Each batch is ~100 docs of writes + downstream enqueues
|
|
448
|
+
lockDuration: 18e4,
|
|
449
|
+
// 3 min — enough for anno-level bulkWrite + downstream dispatch
|
|
450
|
+
maxStalledCount: 3
|
|
451
|
+
}
|
|
452
|
+
},
|
|
401
453
|
REINDEX_QUEUE: {
|
|
402
454
|
id: "reindex-queue",
|
|
403
455
|
queueConfig: {
|
package/dist/node.mjs
CHANGED
|
@@ -403,6 +403,58 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
403
403
|
maxStalledCount: 3
|
|
404
404
|
}
|
|
405
405
|
},
|
|
406
|
+
TAG_SYNC_PLAN_QUEUE: {
|
|
407
|
+
id: "tag-sync-plan-queue",
|
|
408
|
+
queueConfig: {
|
|
409
|
+
defaultJobOptions: {
|
|
410
|
+
attempts: 3,
|
|
411
|
+
backoff: {
|
|
412
|
+
type: "exponential",
|
|
413
|
+
delay: 5e3
|
|
414
|
+
},
|
|
415
|
+
removeOnComplete: 30,
|
|
416
|
+
removeOnFail: 100
|
|
417
|
+
},
|
|
418
|
+
streams: {
|
|
419
|
+
events: {
|
|
420
|
+
maxLen: 10
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
workerConfig: {
|
|
425
|
+
concurrency: 5,
|
|
426
|
+
// Planner is read-only + enqueues, light enough to parallelize
|
|
427
|
+
lockDuration: 12e4,
|
|
428
|
+
// 2 min — template scan + ID collection
|
|
429
|
+
maxStalledCount: 3
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
TAG_SYNC_BATCH_QUEUE: {
|
|
433
|
+
id: "tag-sync-batch-queue",
|
|
434
|
+
queueConfig: {
|
|
435
|
+
defaultJobOptions: {
|
|
436
|
+
attempts: 3,
|
|
437
|
+
backoff: {
|
|
438
|
+
type: "exponential",
|
|
439
|
+
delay: 5e3
|
|
440
|
+
},
|
|
441
|
+
removeOnComplete: 30,
|
|
442
|
+
removeOnFail: 100
|
|
443
|
+
},
|
|
444
|
+
streams: {
|
|
445
|
+
events: {
|
|
446
|
+
maxLen: 10
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
workerConfig: {
|
|
451
|
+
concurrency: 10,
|
|
452
|
+
// Each batch is ~100 docs of writes + downstream enqueues
|
|
453
|
+
lockDuration: 18e4,
|
|
454
|
+
// 3 min — enough for anno-level bulkWrite + downstream dispatch
|
|
455
|
+
maxStalledCount: 3
|
|
456
|
+
}
|
|
457
|
+
},
|
|
406
458
|
REINDEX_QUEUE: {
|
|
407
459
|
id: "reindex-queue",
|
|
408
460
|
queueConfig: {
|
package/dist/universal.d.mts
CHANGED
|
@@ -797,7 +797,7 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
797
797
|
}
|
|
798
798
|
export { workerConfig_12 as workerConfig };
|
|
799
799
|
}
|
|
800
|
-
namespace
|
|
800
|
+
namespace TAG_SYNC_PLAN_QUEUE {
|
|
801
801
|
let id_13: string;
|
|
802
802
|
export { id_13 as id };
|
|
803
803
|
export namespace queueConfig_13 {
|
|
@@ -811,8 +811,6 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
811
811
|
export { delay_13 as delay };
|
|
812
812
|
}
|
|
813
813
|
export { backoff_13 as backoff };
|
|
814
|
-
let delay_14: number;
|
|
815
|
-
export { delay_14 as delay };
|
|
816
814
|
let removeOnComplete_13: number;
|
|
817
815
|
export { removeOnComplete_13 as removeOnComplete };
|
|
818
816
|
let removeOnFail_13: number;
|
|
@@ -839,6 +837,88 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
839
837
|
}
|
|
840
838
|
export { workerConfig_13 as workerConfig };
|
|
841
839
|
}
|
|
840
|
+
namespace TAG_SYNC_BATCH_QUEUE {
|
|
841
|
+
let id_14: string;
|
|
842
|
+
export { id_14 as id };
|
|
843
|
+
export namespace queueConfig_14 {
|
|
844
|
+
export namespace defaultJobOptions_14 {
|
|
845
|
+
let attempts_14: number;
|
|
846
|
+
export { attempts_14 as attempts };
|
|
847
|
+
export namespace backoff_14 {
|
|
848
|
+
let type_14: string;
|
|
849
|
+
export { type_14 as type };
|
|
850
|
+
let delay_14: number;
|
|
851
|
+
export { delay_14 as delay };
|
|
852
|
+
}
|
|
853
|
+
export { backoff_14 as backoff };
|
|
854
|
+
let removeOnComplete_14: number;
|
|
855
|
+
export { removeOnComplete_14 as removeOnComplete };
|
|
856
|
+
let removeOnFail_14: number;
|
|
857
|
+
export { removeOnFail_14 as removeOnFail };
|
|
858
|
+
}
|
|
859
|
+
export { defaultJobOptions_14 as defaultJobOptions };
|
|
860
|
+
export namespace streams_14 {
|
|
861
|
+
export namespace events_14 {
|
|
862
|
+
let maxLen_14: number;
|
|
863
|
+
export { maxLen_14 as maxLen };
|
|
864
|
+
}
|
|
865
|
+
export { events_14 as events };
|
|
866
|
+
}
|
|
867
|
+
export { streams_14 as streams };
|
|
868
|
+
}
|
|
869
|
+
export { queueConfig_14 as queueConfig };
|
|
870
|
+
export namespace workerConfig_14 {
|
|
871
|
+
let concurrency_14: number;
|
|
872
|
+
export { concurrency_14 as concurrency };
|
|
873
|
+
let lockDuration_14: number;
|
|
874
|
+
export { lockDuration_14 as lockDuration };
|
|
875
|
+
let maxStalledCount_14: number;
|
|
876
|
+
export { maxStalledCount_14 as maxStalledCount };
|
|
877
|
+
}
|
|
878
|
+
export { workerConfig_14 as workerConfig };
|
|
879
|
+
}
|
|
880
|
+
namespace REINDEX_QUEUE {
|
|
881
|
+
let id_15: string;
|
|
882
|
+
export { id_15 as id };
|
|
883
|
+
export namespace queueConfig_15 {
|
|
884
|
+
export namespace defaultJobOptions_15 {
|
|
885
|
+
let attempts_15: number;
|
|
886
|
+
export { attempts_15 as attempts };
|
|
887
|
+
export namespace backoff_15 {
|
|
888
|
+
let type_15: string;
|
|
889
|
+
export { type_15 as type };
|
|
890
|
+
let delay_15: number;
|
|
891
|
+
export { delay_15 as delay };
|
|
892
|
+
}
|
|
893
|
+
export { backoff_15 as backoff };
|
|
894
|
+
let delay_16: number;
|
|
895
|
+
export { delay_16 as delay };
|
|
896
|
+
let removeOnComplete_15: number;
|
|
897
|
+
export { removeOnComplete_15 as removeOnComplete };
|
|
898
|
+
let removeOnFail_15: number;
|
|
899
|
+
export { removeOnFail_15 as removeOnFail };
|
|
900
|
+
}
|
|
901
|
+
export { defaultJobOptions_15 as defaultJobOptions };
|
|
902
|
+
export namespace streams_15 {
|
|
903
|
+
export namespace events_15 {
|
|
904
|
+
let maxLen_15: number;
|
|
905
|
+
export { maxLen_15 as maxLen };
|
|
906
|
+
}
|
|
907
|
+
export { events_15 as events };
|
|
908
|
+
}
|
|
909
|
+
export { streams_15 as streams };
|
|
910
|
+
}
|
|
911
|
+
export { queueConfig_15 as queueConfig };
|
|
912
|
+
export namespace workerConfig_15 {
|
|
913
|
+
let concurrency_15: number;
|
|
914
|
+
export { concurrency_15 as concurrency };
|
|
915
|
+
let lockDuration_15: number;
|
|
916
|
+
export { lockDuration_15 as lockDuration };
|
|
917
|
+
let maxStalledCount_15: number;
|
|
918
|
+
export { maxStalledCount_15 as maxStalledCount };
|
|
919
|
+
}
|
|
920
|
+
export { workerConfig_15 as workerConfig };
|
|
921
|
+
}
|
|
842
922
|
}
|
|
843
923
|
|
|
844
924
|
interface PlatformContextContentItem {
|
package/dist/universal.d.ts
CHANGED
|
@@ -797,7 +797,7 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
797
797
|
}
|
|
798
798
|
export { workerConfig_12 as workerConfig };
|
|
799
799
|
}
|
|
800
|
-
namespace
|
|
800
|
+
namespace TAG_SYNC_PLAN_QUEUE {
|
|
801
801
|
let id_13: string;
|
|
802
802
|
export { id_13 as id };
|
|
803
803
|
export namespace queueConfig_13 {
|
|
@@ -811,8 +811,6 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
811
811
|
export { delay_13 as delay };
|
|
812
812
|
}
|
|
813
813
|
export { backoff_13 as backoff };
|
|
814
|
-
let delay_14: number;
|
|
815
|
-
export { delay_14 as delay };
|
|
816
814
|
let removeOnComplete_13: number;
|
|
817
815
|
export { removeOnComplete_13 as removeOnComplete };
|
|
818
816
|
let removeOnFail_13: number;
|
|
@@ -839,6 +837,88 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
839
837
|
}
|
|
840
838
|
export { workerConfig_13 as workerConfig };
|
|
841
839
|
}
|
|
840
|
+
namespace TAG_SYNC_BATCH_QUEUE {
|
|
841
|
+
let id_14: string;
|
|
842
|
+
export { id_14 as id };
|
|
843
|
+
export namespace queueConfig_14 {
|
|
844
|
+
export namespace defaultJobOptions_14 {
|
|
845
|
+
let attempts_14: number;
|
|
846
|
+
export { attempts_14 as attempts };
|
|
847
|
+
export namespace backoff_14 {
|
|
848
|
+
let type_14: string;
|
|
849
|
+
export { type_14 as type };
|
|
850
|
+
let delay_14: number;
|
|
851
|
+
export { delay_14 as delay };
|
|
852
|
+
}
|
|
853
|
+
export { backoff_14 as backoff };
|
|
854
|
+
let removeOnComplete_14: number;
|
|
855
|
+
export { removeOnComplete_14 as removeOnComplete };
|
|
856
|
+
let removeOnFail_14: number;
|
|
857
|
+
export { removeOnFail_14 as removeOnFail };
|
|
858
|
+
}
|
|
859
|
+
export { defaultJobOptions_14 as defaultJobOptions };
|
|
860
|
+
export namespace streams_14 {
|
|
861
|
+
export namespace events_14 {
|
|
862
|
+
let maxLen_14: number;
|
|
863
|
+
export { maxLen_14 as maxLen };
|
|
864
|
+
}
|
|
865
|
+
export { events_14 as events };
|
|
866
|
+
}
|
|
867
|
+
export { streams_14 as streams };
|
|
868
|
+
}
|
|
869
|
+
export { queueConfig_14 as queueConfig };
|
|
870
|
+
export namespace workerConfig_14 {
|
|
871
|
+
let concurrency_14: number;
|
|
872
|
+
export { concurrency_14 as concurrency };
|
|
873
|
+
let lockDuration_14: number;
|
|
874
|
+
export { lockDuration_14 as lockDuration };
|
|
875
|
+
let maxStalledCount_14: number;
|
|
876
|
+
export { maxStalledCount_14 as maxStalledCount };
|
|
877
|
+
}
|
|
878
|
+
export { workerConfig_14 as workerConfig };
|
|
879
|
+
}
|
|
880
|
+
namespace REINDEX_QUEUE {
|
|
881
|
+
let id_15: string;
|
|
882
|
+
export { id_15 as id };
|
|
883
|
+
export namespace queueConfig_15 {
|
|
884
|
+
export namespace defaultJobOptions_15 {
|
|
885
|
+
let attempts_15: number;
|
|
886
|
+
export { attempts_15 as attempts };
|
|
887
|
+
export namespace backoff_15 {
|
|
888
|
+
let type_15: string;
|
|
889
|
+
export { type_15 as type };
|
|
890
|
+
let delay_15: number;
|
|
891
|
+
export { delay_15 as delay };
|
|
892
|
+
}
|
|
893
|
+
export { backoff_15 as backoff };
|
|
894
|
+
let delay_16: number;
|
|
895
|
+
export { delay_16 as delay };
|
|
896
|
+
let removeOnComplete_15: number;
|
|
897
|
+
export { removeOnComplete_15 as removeOnComplete };
|
|
898
|
+
let removeOnFail_15: number;
|
|
899
|
+
export { removeOnFail_15 as removeOnFail };
|
|
900
|
+
}
|
|
901
|
+
export { defaultJobOptions_15 as defaultJobOptions };
|
|
902
|
+
export namespace streams_15 {
|
|
903
|
+
export namespace events_15 {
|
|
904
|
+
let maxLen_15: number;
|
|
905
|
+
export { maxLen_15 as maxLen };
|
|
906
|
+
}
|
|
907
|
+
export { events_15 as events };
|
|
908
|
+
}
|
|
909
|
+
export { streams_15 as streams };
|
|
910
|
+
}
|
|
911
|
+
export { queueConfig_15 as queueConfig };
|
|
912
|
+
export namespace workerConfig_15 {
|
|
913
|
+
let concurrency_15: number;
|
|
914
|
+
export { concurrency_15 as concurrency };
|
|
915
|
+
let lockDuration_15: number;
|
|
916
|
+
export { lockDuration_15 as lockDuration };
|
|
917
|
+
let maxStalledCount_15: number;
|
|
918
|
+
export { maxStalledCount_15 as maxStalledCount };
|
|
919
|
+
}
|
|
920
|
+
export { workerConfig_15 as workerConfig };
|
|
921
|
+
}
|
|
842
922
|
}
|
|
843
923
|
|
|
844
924
|
interface PlatformContextContentItem {
|
package/dist/universal.js
CHANGED
|
@@ -1140,6 +1140,58 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
1140
1140
|
maxStalledCount: 3
|
|
1141
1141
|
}
|
|
1142
1142
|
},
|
|
1143
|
+
TAG_SYNC_PLAN_QUEUE: {
|
|
1144
|
+
id: "tag-sync-plan-queue",
|
|
1145
|
+
queueConfig: {
|
|
1146
|
+
defaultJobOptions: {
|
|
1147
|
+
attempts: 3,
|
|
1148
|
+
backoff: {
|
|
1149
|
+
type: "exponential",
|
|
1150
|
+
delay: 5e3
|
|
1151
|
+
},
|
|
1152
|
+
removeOnComplete: 30,
|
|
1153
|
+
removeOnFail: 100
|
|
1154
|
+
},
|
|
1155
|
+
streams: {
|
|
1156
|
+
events: {
|
|
1157
|
+
maxLen: 10
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
},
|
|
1161
|
+
workerConfig: {
|
|
1162
|
+
concurrency: 5,
|
|
1163
|
+
// Planner is read-only + enqueues, light enough to parallelize
|
|
1164
|
+
lockDuration: 12e4,
|
|
1165
|
+
// 2 min — template scan + ID collection
|
|
1166
|
+
maxStalledCount: 3
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
TAG_SYNC_BATCH_QUEUE: {
|
|
1170
|
+
id: "tag-sync-batch-queue",
|
|
1171
|
+
queueConfig: {
|
|
1172
|
+
defaultJobOptions: {
|
|
1173
|
+
attempts: 3,
|
|
1174
|
+
backoff: {
|
|
1175
|
+
type: "exponential",
|
|
1176
|
+
delay: 5e3
|
|
1177
|
+
},
|
|
1178
|
+
removeOnComplete: 30,
|
|
1179
|
+
removeOnFail: 100
|
|
1180
|
+
},
|
|
1181
|
+
streams: {
|
|
1182
|
+
events: {
|
|
1183
|
+
maxLen: 10
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
},
|
|
1187
|
+
workerConfig: {
|
|
1188
|
+
concurrency: 10,
|
|
1189
|
+
// Each batch is ~100 docs of writes + downstream enqueues
|
|
1190
|
+
lockDuration: 18e4,
|
|
1191
|
+
// 3 min — enough for anno-level bulkWrite + downstream dispatch
|
|
1192
|
+
maxStalledCount: 3
|
|
1193
|
+
}
|
|
1194
|
+
},
|
|
1143
1195
|
REINDEX_QUEUE: {
|
|
1144
1196
|
id: "reindex-queue",
|
|
1145
1197
|
queueConfig: {
|
package/dist/universal.mjs
CHANGED
|
@@ -1072,6 +1072,58 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
1072
1072
|
maxStalledCount: 3
|
|
1073
1073
|
}
|
|
1074
1074
|
},
|
|
1075
|
+
TAG_SYNC_PLAN_QUEUE: {
|
|
1076
|
+
id: "tag-sync-plan-queue",
|
|
1077
|
+
queueConfig: {
|
|
1078
|
+
defaultJobOptions: {
|
|
1079
|
+
attempts: 3,
|
|
1080
|
+
backoff: {
|
|
1081
|
+
type: "exponential",
|
|
1082
|
+
delay: 5e3
|
|
1083
|
+
},
|
|
1084
|
+
removeOnComplete: 30,
|
|
1085
|
+
removeOnFail: 100
|
|
1086
|
+
},
|
|
1087
|
+
streams: {
|
|
1088
|
+
events: {
|
|
1089
|
+
maxLen: 10
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
},
|
|
1093
|
+
workerConfig: {
|
|
1094
|
+
concurrency: 5,
|
|
1095
|
+
// Planner is read-only + enqueues, light enough to parallelize
|
|
1096
|
+
lockDuration: 12e4,
|
|
1097
|
+
// 2 min — template scan + ID collection
|
|
1098
|
+
maxStalledCount: 3
|
|
1099
|
+
}
|
|
1100
|
+
},
|
|
1101
|
+
TAG_SYNC_BATCH_QUEUE: {
|
|
1102
|
+
id: "tag-sync-batch-queue",
|
|
1103
|
+
queueConfig: {
|
|
1104
|
+
defaultJobOptions: {
|
|
1105
|
+
attempts: 3,
|
|
1106
|
+
backoff: {
|
|
1107
|
+
type: "exponential",
|
|
1108
|
+
delay: 5e3
|
|
1109
|
+
},
|
|
1110
|
+
removeOnComplete: 30,
|
|
1111
|
+
removeOnFail: 100
|
|
1112
|
+
},
|
|
1113
|
+
streams: {
|
|
1114
|
+
events: {
|
|
1115
|
+
maxLen: 10
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
},
|
|
1119
|
+
workerConfig: {
|
|
1120
|
+
concurrency: 10,
|
|
1121
|
+
// Each batch is ~100 docs of writes + downstream enqueues
|
|
1122
|
+
lockDuration: 18e4,
|
|
1123
|
+
// 3 min — enough for anno-level bulkWrite + downstream dispatch
|
|
1124
|
+
maxStalledCount: 3
|
|
1125
|
+
}
|
|
1126
|
+
},
|
|
1075
1127
|
REINDEX_QUEUE: {
|
|
1076
1128
|
id: "reindex-queue",
|
|
1077
1129
|
queueConfig: {
|