@sentio/runtime 2.59.0-rc.26 → 2.59.0-rc.28
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.
@@ -59631,6 +59631,7 @@ var ProcessorServiceImpl = class {
|
|
59631
59631
|
let lastBinding = void 0;
|
59632
59632
|
for await (const request of requests) {
|
59633
59633
|
try {
|
59634
|
+
console.log("received request:", request, "lastBinding:", lastBinding);
|
59634
59635
|
if (request.binding) {
|
59635
59636
|
process_binding_count.add(1);
|
59636
59637
|
if (request.binding.handlerType === HandlerType.UNKNOWN) {
|
@@ -59642,10 +59643,11 @@ var ProcessorServiceImpl = class {
|
|
59642
59643
|
}
|
59643
59644
|
lastBinding = request.binding;
|
59644
59645
|
if (this.enablePartition) {
|
59645
|
-
|
59646
|
-
|
59647
|
-
|
59648
|
-
|
59646
|
+
PluginManager.INSTANCE.partition(request.binding).then((partitions) => {
|
59647
|
+
subject.next({
|
59648
|
+
processId: request.processId,
|
59649
|
+
partitions
|
59650
|
+
});
|
59649
59651
|
});
|
59650
59652
|
} else {
|
59651
59653
|
this.startProcess(request.processId, request.binding, contexts, subject);
|
@@ -59671,6 +59673,7 @@ var ProcessorServiceImpl = class {
|
|
59671
59673
|
console.error("unexpect error during handle loop", e);
|
59672
59674
|
}
|
59673
59675
|
}
|
59676
|
+
console.info("process stream requests finished");
|
59674
59677
|
}
|
59675
59678
|
startProcess(processId, binding, contexts, subject) {
|
59676
59679
|
const dbContext = contexts.new(processId, subject);
|
@@ -59683,7 +59686,7 @@ var ProcessorServiceImpl = class {
|
|
59683
59686
|
});
|
59684
59687
|
recordRuntimeInfo(result, binding.handlerType);
|
59685
59688
|
}).catch((e) => {
|
59686
|
-
console.
|
59689
|
+
console.error(e);
|
59687
59690
|
dbContext.error(processId, e);
|
59688
59691
|
process_binding_error.add(1);
|
59689
59692
|
}).finally(() => {
|
@@ -59857,4 +59860,4 @@ long/umd/index.js:
|
|
59857
59860
|
@noble/curves/esm/secp256k1.js:
|
59858
59861
|
(*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
|
59859
59862
|
*/
|
59860
|
-
//# sourceMappingURL=chunk-
|
59863
|
+
//# sourceMappingURL=chunk-QJOLRVKZ.js.map
|