electron-workers icon indicating copy to clipboard operation
electron-workers copied to clipboard

Worker Timeout, the worker process does not respond

Open Sindcs opened this issue 8 years ago • 0 comments

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

Sindcs avatar Oct 25 '17 06:10 Sindcs