@sentio/runtime 3.0.0-rc.12 → 3.0.0-rc.13

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/index.js CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  providerMetrics,
24
24
  recordRuntimeInfo,
25
25
  timeoutError
26
- } from "./chunk-AFB5F2CR.js";
26
+ } from "./chunk-33ACY4F2.js";
27
27
  import {
28
28
  Plugin,
29
29
  PluginManager
@@ -26,7 +26,7 @@ import {
26
26
  require_lib4,
27
27
  require_src,
28
28
  withAbort
29
- } from "./chunk-AFB5F2CR.js";
29
+ } from "./chunk-33ACY4F2.js";
30
30
  import {
31
31
  ExecutionConfig,
32
32
  HandlerType,
@@ -32693,12 +32693,9 @@ var ProcessorServiceImplV3 = class {
32693
32693
  startProcess(processId, binding, subject) {
32694
32694
  const context2 = this.contexts.new(processId, subject);
32695
32695
  const start = Date.now();
32696
- console.debug("process binding", processId);
32697
32696
  PluginManager.INSTANCE.processBinding(binding, void 0, context2).then(async (result) => {
32698
- console.debug(`process binding ${processId} done`);
32699
32697
  await context2.awaitPendings();
32700
32698
  const { timeseriesResult, ...otherResults } = result;
32701
- console.debug("sending ts data length:", result.timeseriesResult.length);
32702
32699
  for (let i = 0; i < timeseriesResult.length; i += TIME_SERIES_RESULT_BATCH_SIZE) {
32703
32700
  const batch = timeseriesResult.slice(i, i + TIME_SERIES_RESULT_BATCH_SIZE);
32704
32701
  subject.next({
@@ -32708,7 +32705,6 @@ var ProcessorServiceImplV3 = class {
32708
32705
  }
32709
32706
  });
32710
32707
  }
32711
- console.debug("sending binding result", processId);
32712
32708
  subject.next({
32713
32709
  result: WRITE_V2_EVENT_LOGS ? otherResults : {
32714
32710
  states: otherResults.states
@@ -32724,7 +32720,6 @@ var ProcessorServiceImplV3 = class {
32724
32720
  const cost = Date.now() - start;
32725
32721
  process_binding_time.add(cost);
32726
32722
  this.contexts.delete(processId);
32727
- console.debug("process binding done", processId);
32728
32723
  });
32729
32724
  }
32730
32725
  async updateTemplates(request, context2) {