Worker Timeout, the worker process does not respond
when i use the started worker in the hole project,it do some task and get the error 'Worker Timeout, the worker process does not respond'. the worker i used in project is a global object the code like this `var electronWorker = require('electron-workers') const electronWorkers = electronWorker({ connectionMode: 'ipc', pathToScript: config.childProcess.backworkerPath, pathToElectron: config.childProcess.electronPath, timeout: 30000, debug: 7567, numberOfWorkers: 1 })
electronWorkers.start(function (startErr) {
if (startErr) {
console.log(start worker err:${startErr})
log.writeErr(start worker err:${startErr})
}
})
export default electronWorkers`
and then i use electronWorkers in the hole project, but it dosen't work while do some task. please help me thanks