mirror of
https://github.com/koush/scrypted.git
synced 2026-03-20 16:40:24 +00:00
server: apply default runtime for cluster fork
This commit is contained in:
@@ -777,7 +777,9 @@ class PluginRemote:
|
||||
peerLiveness = PeerLiveness(self.loop)
|
||||
async def startClusterFork():
|
||||
forkComponent = await self.api.getComponent("cluster-fork")
|
||||
clusterForkResult = await forkComponent.fork(peerLiveness, options, packageJson, zipHash, lambda: zipAPI.getZip())
|
||||
sanitizedOptions = options.copy()
|
||||
sanitizedOptions["runtime"] = sanitizedOptions.get("runtime", "python")
|
||||
clusterForkResult = await forkComponent.fork(peerLiveness, sanitizedOptions, packageJson, zipHash, lambda: zipAPI.getZip())
|
||||
|
||||
async def waitPeerLiveness():
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user