Skip to content

Commit

Permalink
fix: update default config and change severity of warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Oct 24, 2024
1 parent 8694b77 commit b567535
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shared/packages/api/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ const appContainerArguments = defineArguments({
},
minCriticalWorkerApps: {
type: 'number',
default: 0,
default: 1,
describe: 'Number of Workers reserved for fulfilling playout-critical expectations that will be kept running',
},

Expand Down
3 changes: 2 additions & 1 deletion shared/packages/workforce/src/workforce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ export class Workforce {
statuses['any-workers'] =
this.workerAgents.size === 0
? {
statusCode: StatusCode.BAD,
// This is perfectly normal in some scenarios, so we don't report this as an error
statusCode: StatusCode.GOOD,
message: 'No workers connected to workforce',
}
: {
Expand Down

0 comments on commit b567535

Please sign in to comment.