@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/{chunk-AFB5F2CR.js → chunk-33ACY4F2.js} +1 -2
- package/lib/{chunk-AFB5F2CR.js.map → chunk-33ACY4F2.js.map} +1 -1
- package/lib/index.js +1 -1
- package/lib/processor-runner.js +1 -7
- package/lib/processor-runner.js.map +1 -1
- package/lib/service-worker.js +1 -1
- package/package.json +1 -1
- package/src/db-context.ts +0 -1
- package/src/otlp.ts +1 -1
- package/src/service-v3.ts +0 -5
package/lib/service-worker.js
CHANGED
package/package.json
CHANGED
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/otlp.ts
CHANGED
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
|
|