Skip to content

Commit

Permalink
server: log startup
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Nov 21, 2024
1 parent 53cab91 commit 1a2ec8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions server/src/scrypted-cluster-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export class ClusterForkResult extends PeerLiveness {
export type ClusterForkParam = (runtime: string, options: RuntimeWorkerOptions, peerLiveness: PeerLiveness, getZip: () => Promise<Buffer>) => Promise<ClusterForkResult>;

export function startClusterClient(mainFilename: string) {
console.log('Cluster client starting.');
const originalClusterAddress = process.env.SCRYPTED_CLUSTER_ADDRESS;
const labels = getClusterLabels();

Expand Down
1 change: 1 addition & 0 deletions server/src/scrypted-server-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ app.use(bodyParser.raw({ type: 'application/*', limit: 100000000 }) as any)
async function start(mainFilename: string, options?: {
onRuntimeCreated?: (runtime: ScryptedRuntime) => Promise<void>,
}) {
console.log('Cluster server starting.');
const volumeDir = getScryptedVolume();
await fs.promises.mkdir(volumeDir, {
recursive: true
Expand Down

0 comments on commit 1a2ec8a

Please sign in to comment.