mirror of
https://github.com/koush/scrypted.git
synced 2026-06-20 08:30:30 +01:00
server: fix compile error
This commit is contained in:
@@ -82,7 +82,7 @@ export class ClusterForkService {
|
||||
const fork: ClusterForkParam = await worker.fork;
|
||||
|
||||
const forkResultPromise = fork(options.runtime!, runtimeWorkerOptions, peerLiveness, getZip);
|
||||
options.id! ||= this.runtime.findPluginDevice(runtimeWorkerOptions.packageJson.name)?._id;
|
||||
options.id ||= this.runtime.findPluginDevice(runtimeWorkerOptions.packageJson.name)?._id;
|
||||
|
||||
// the server is responsible for killing the forked process when the requestor is killed.
|
||||
// minimizes lifecycle management duplication in python and node.
|
||||
|
||||
Reference in New Issue
Block a user