prolong worker lifetime to 5 minutes
This commit is contained in:
parent
2f4658657d
commit
2db9a0c991
|
@ -6,7 +6,7 @@ const workerUtil = (() => {
|
|||
const loadedScripts = new Set();
|
||||
return {createWorker, createAPI, loadScript, cloneError};
|
||||
|
||||
function createWorker({url, lifeTime = 30}) {
|
||||
function createWorker({url, lifeTime = 300}) {
|
||||
let worker;
|
||||
let id;
|
||||
let timer;
|
||||
|
|
Loading…
Reference in New Issue
Block a user