@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.
@@ -10,7 +10,7 @@ import {
10
10
  require_cjs,
11
11
  require_lib3 as require_lib,
12
12
  require_lib4 as require_lib2
13
- } from "./chunk-AFB5F2CR.js";
13
+ } from "./chunk-33ACY4F2.js";
14
14
  import "./chunk-ROBPWJIE.js";
15
15
  import "./chunk-MV6JXS2P.js";
16
16
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/runtime",
3
- "version": "3.0.0-rc.12",
3
+ "version": "3.0.0-rc.13",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
package/src/db-context.ts CHANGED
@@ -281,7 +281,6 @@ export class DataBindingContext extends AbstractStoreContext implements IDataBin
281
281
  }
282
282
 
283
283
  doSend(resp: DeepPartial<ProcessStreamResponseV3>) {
284
- console.debug('sending db request, processId ', this.processId, 'opId', resp.dbRequest?.opId)
285
284
  this.subject.next({
286
285
  ...resp,
287
286
  processId: this.processId
package/src/service-v3.ts CHANGED
@@ -168,13 +168,10 @@ export class ProcessorServiceImplV3 implements ProcessorV3ServiceImplementation
168
168
  ) {
169
169
  const context = this.contexts.new(processId, subject)
170
170
  const start = Date.now()
171
- console.debug('process binding', processId)
172
171
  PluginManager.INSTANCE.processBinding(binding, undefined, context)
173
172
  .then(async (result) => {
174
- console.debug(`process binding ${processId} done`)
175
173
  await context.awaitPendings()
176
174
  const { timeseriesResult, ...otherResults } = result
177
- console.debug('sending ts data length:', result.timeseriesResult.length)
178
175
  for (let i = 0; i < timeseriesResult.length; i += TIME_SERIES_RESULT_BATCH_SIZE) {
179
176
  const batch = timeseriesResult.slice(i, i + TIME_SERIES_RESULT_BATCH_SIZE)
180
177
  subject.next({
@@ -185,7 +182,6 @@ export class ProcessorServiceImplV3 implements ProcessorV3ServiceImplementation
185
182
  })
186
183
  }
187
184
 
188
- console.debug('sending binding result', processId)
189
185
  subject.next({
190
186
  result: WRITE_V2_EVENT_LOGS
191
187
  ? otherResults
@@ -205,7 +201,6 @@ export class ProcessorServiceImplV3 implements ProcessorV3ServiceImplementation
205
201
  const cost = Date.now() - start
206
202
  process_binding_time.add(cost)
207
203
  this.contexts.delete(processId)
208
- console.debug('process binding done', processId)
209
204
  })
210
205
  }
211
206