@ricsam/isolate-client 0.1.23 → 0.1.24
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/cjs/connection.cjs
CHANGED
|
@@ -218,6 +218,7 @@ async function connect(options = {}) {
|
|
|
218
218
|
requestId,
|
|
219
219
|
options: {
|
|
220
220
|
memoryLimitMB: runtimeOptions.memoryLimitMB,
|
|
221
|
+
executionTimeout: runtimeOptions.executionTimeout,
|
|
221
222
|
cwd: runtimeOptions.cwd,
|
|
222
223
|
callbacks,
|
|
223
224
|
testEnvironment: testEnvironmentOption,
|
|
@@ -712,6 +713,7 @@ async function createRuntime(state, options = {}, namespaceId) {
|
|
|
712
713
|
requestId,
|
|
713
714
|
options: {
|
|
714
715
|
memoryLimitMB: options.memoryLimitMB,
|
|
716
|
+
executionTimeout: options.executionTimeout,
|
|
715
717
|
cwd: options.cwd,
|
|
716
718
|
callbacks,
|
|
717
719
|
testEnvironment: testEnvironmentOption,
|
|
@@ -1041,7 +1043,8 @@ async function createRuntime(state, options = {}, namespaceId) {
|
|
|
1041
1043
|
requestId: reqId,
|
|
1042
1044
|
isolateId,
|
|
1043
1045
|
code,
|
|
1044
|
-
filename: options2?.filename
|
|
1046
|
+
filename: options2?.filename,
|
|
1047
|
+
executionTimeout: options2?.executionTimeout
|
|
1045
1048
|
};
|
|
1046
1049
|
await sendRequest(state, req);
|
|
1047
1050
|
},
|
|
@@ -1784,4 +1787,4 @@ function handleClientWsClose(isolateId, payload, state) {
|
|
|
1784
1787
|
}
|
|
1785
1788
|
}
|
|
1786
1789
|
|
|
1787
|
-
//# debugId=
|
|
1790
|
+
//# debugId=D533D4D673D0E39164756E2164756E21
|