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

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,
@@ -32412,7 +32412,6 @@ async function setupOTLP(debug) {
32412
32412
  })
32413
32413
  ]
32414
32414
  });
32415
- sdk.start();
32416
32415
  ["SIGINT", "SIGTERM"].forEach((signal) => {
32417
32416
  process.on(signal, () => sdk.shutdown().catch(console.error));
32418
32417
  });
@@ -32693,12 +32692,9 @@ var ProcessorServiceImplV3 = class {
32693
32692
  startProcess(processId, binding, subject) {
32694
32693
  const context2 = this.contexts.new(processId, subject);
32695
32694
  const start = Date.now();
32696
- console.debug("process binding", processId);
32697
32695
  PluginManager.INSTANCE.processBinding(binding, void 0, context2).then(async (result) => {
32698
- console.debug(`process binding ${processId} done`);
32699
32696
  await context2.awaitPendings();
32700
32697
  const { timeseriesResult, ...otherResults } = result;
32701
- console.debug("sending ts data length:", result.timeseriesResult.length);
32702
32698
  for (let i = 0; i < timeseriesResult.length; i += TIME_SERIES_RESULT_BATCH_SIZE) {
32703
32699
  const batch = timeseriesResult.slice(i, i + TIME_SERIES_RESULT_BATCH_SIZE);
32704
32700
  subject.next({
@@ -32708,7 +32704,6 @@ var ProcessorServiceImplV3 = class {
32708
32704
  }
32709
32705
  });
32710
32706
  }
32711
- console.debug("sending binding result", processId);
32712
32707
  subject.next({
32713
32708
  result: WRITE_V2_EVENT_LOGS ? otherResults : {
32714
32709
  states: otherResults.states
@@ -32724,7 +32719,6 @@ var ProcessorServiceImplV3 = class {
32724
32719
  const cost = Date.now() - start;
32725
32720
  process_binding_time.add(cost);
32726
32721
  this.contexts.delete(processId);
32727
- console.debug("process binding done", processId);
32728
32722
  });
32729
32723
  }
32730
32724
  async updateTemplates(request, context2) {