@sentio/runtime 4.0.1-rc.2 → 4.0.1-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/dist/index.d.ts +15 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/processor-runner.js +2849 -2928
- package/dist/processor-runner.js.map +1 -1
- package/dist/{service-v3-CtXk2PFI.js → service-v3-XaHoyXpd.js} +5 -5
- package/dist/{service-v3-CtXk2PFI.js.map → service-v3-XaHoyXpd.js.map} +1 -1
- package/package.json +2 -2
|
@@ -4,7 +4,7 @@ import { AsyncLocalStorage } from "node:async_hooks";
|
|
|
4
4
|
import { createRequire } from "module";
|
|
5
5
|
import path from "path";
|
|
6
6
|
import fs from "fs";
|
|
7
|
-
import * as process$
|
|
7
|
+
import * as process$2 from "node:process";
|
|
8
8
|
|
|
9
9
|
//#region ../../node_modules/.pnpm/@bufbuild+protobuf@2.12.0/node_modules/@bufbuild/protobuf/dist/esm/clone.js
|
|
10
10
|
/**
|
|
@@ -11863,9 +11863,9 @@ const metricsStorage = new AsyncLocalStorage();
|
|
|
11863
11863
|
//#endregion
|
|
11864
11864
|
//#region src/db-context.ts
|
|
11865
11865
|
const { request_errors, unsolved_requests, request_times, batched_request_count, batched_total_count, send_counts, recv_counts } = dbMetrics;
|
|
11866
|
-
const STORE_BATCH_IDLE = process$
|
|
11867
|
-
const STORE_BATCH_SIZE = process$
|
|
11868
|
-
const STORE_UPSERT_NO_WAIT = process$
|
|
11866
|
+
const STORE_BATCH_IDLE = process$2.env["STORE_BATCH_MAX_IDLE"] ? parseInt(process$2.env["STORE_BATCH_MAX_IDLE"]) : 1;
|
|
11867
|
+
const STORE_BATCH_SIZE = process$2.env["STORE_BATCH_SIZE"] ? parseInt(process$2.env["STORE_BATCH_SIZE"]) : 10;
|
|
11868
|
+
const STORE_UPSERT_NO_WAIT = process$2.env["STORE_UPSERT_NO_WAIT"] === "true";
|
|
11869
11869
|
const timeoutError = /* @__PURE__ */ new Error("timeout");
|
|
11870
11870
|
var AbstractStoreContext = class {
|
|
11871
11871
|
processId;
|
|
@@ -12235,4 +12235,4 @@ var Contexts = class {
|
|
|
12235
12235
|
|
|
12236
12236
|
//#endregion
|
|
12237
12237
|
export { mergeProcessResults as C, recordRuntimeInfo as E, makeEthCallKey as S, parseSemver as T, require_lib as _, StoreContext as a, errorString as b, metricsStorage as c, ConnectError as d, codeFromString as f, configureEndpoints as g, Endpoints as h, DataBindingContext as i, processMetrics as l, Code as m, GLOBAL_CONFIG as n, timeoutError as o, codeToString as p, AbstractStoreContext as r, dbMetrics as s, ProcessorServiceImplV3 as t, providerMetrics as u, USER_PROCESSOR as v, mergeProcessResultsInPlace as w, locatePackageJson as x, compareSemver as y };
|
|
12238
|
-
//# sourceMappingURL=service-v3-
|
|
12238
|
+
//# sourceMappingURL=service-v3-XaHoyXpd.js.map
|