@sentio/runtime 2.59.0-rc.33 → 2.59.0-rc.34
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/lib/processor-runner.js
CHANGED
@@ -26362,16 +26362,13 @@ var ServiceManager = class extends ProcessorServiceImpl {
|
|
26362
26362
|
}
|
26363
26363
|
}
|
26364
26364
|
}
|
26365
|
-
|
26366
|
-
if (!this.pool) {
|
26367
|
-
await this.initPool();
|
26368
|
-
}
|
26365
|
+
doPartition(processId, binding, subject) {
|
26369
26366
|
const dbContext = this.contexts.new(processId, subject);
|
26370
26367
|
const start = Date.now();
|
26371
|
-
this.process(binding, processId, dbContext, true).then(async (
|
26368
|
+
this.process(binding, processId, dbContext, true).then(async (partitions) => {
|
26372
26369
|
console.debug("partition", processId, "finished, took:", Date.now() - start);
|
26373
26370
|
subject.next({
|
26374
|
-
|
26371
|
+
partitions,
|
26375
26372
|
processId
|
26376
26373
|
});
|
26377
26374
|
}).catch((e) => {
|