@sentio/runtime 2.57.10-rc.3 → 2.57.10-rc.4
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
package/lib/processor-runner.js
CHANGED
package/package.json
CHANGED
package/src/service.ts
CHANGED
@@ -35,7 +35,7 @@ import { EthChainId } from '@sentio/chain'
|
|
35
35
|
import { Provider } from 'ethers'
|
36
36
|
import { decodeMulticallResult, encodeMulticallData, getMulticallAddress, Multicall3Call } from './multicall.js'
|
37
37
|
|
38
|
-
import {
|
38
|
+
import { processMetrics } from './metrics.js'
|
39
39
|
|
40
40
|
const { process_binding_count, process_binding_time, process_binding_error } = processMetrics
|
41
41
|
|
@@ -454,11 +454,8 @@ export class ProcessorServiceImpl implements ProcessorServiceImplementation {
|
|
454
454
|
})
|
455
455
|
.finally(() => {
|
456
456
|
const cost = Date.now() - start
|
457
|
-
console.debug('processBinding', request.processId, ' took', cost, 'ms')
|
458
457
|
process_binding_time.add(cost)
|
459
458
|
contexts.delete(request.processId)
|
460
|
-
console.debug('db stats', JSON.stringify(dbMetrics.stats()))
|
461
|
-
console.debug('provider stats', JSON.stringify(providerMetrics.stats()))
|
462
459
|
})
|
463
460
|
}
|
464
461
|
if (request.dbResult) {
|