Skip to content

Commit fec603f

Browse files
committed
added escape hatch for timeout
1 parent 3f8371c commit fec603f

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

docs/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esm/worker/class.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default (...args) =>
3737
const [ config ] = getConfigURLAndType(options.config, options.configURL);
3838

3939
const serviceWorker = options?.serviceWorker || options?.service_worker;
40-
const worker = xworker({ serviceWorker });
40+
const worker = xworker({ serviceWorker, timeout: globalThis.reflected_ffi_timeout ?? -1 });
4141
const { postMessage } = worker;
4242
const isHook = this instanceof Hook;
4343

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@
8888
"@webreflection/utils": "^0.1.1",
8989
"basic-devtools": "^0.1.6",
9090
"codedent": "^0.1.2",
91-
"coincident": "^4.0.15",
91+
"coincident": "^4.0.16",
9292
"html-escaper": "^3.0.3",
93-
"reflected-ffi": "^0.5.2",
93+
"reflected-ffi": "^0.5.3",
9494
"sticky-module": "^0.1.1",
9595
"to-json-callback": "^0.1.1"
9696
},
9797
"worker": {
98-
"blob": "sha256-agI65+zD4V0gu4pwiBAt+4YSd4+QNAGwCccf0xZB7lo="
98+
"blob": "sha256-nh9xstE4zAQ09Bdq/9Amqx9B15nZRPDC/ovmyUdzrqw="
9999
}
100100
}

0 commit comments

Comments
 (0)