Skip to content

Commit

Permalink
chore(cli): invalid description on worker thread
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Jan 23, 2025
1 parent f08bd94 commit 61e0668
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class StandAloneCommand extends AbstractServerCommand {
@CommandLine.Option(names = {"-f", "--flow-path"}, description = "the flow path containing flow to inject at startup (when running with a memory flow repository)")
private File flowPath;

@CommandLine.Option(names = {"--worker-thread"}, description = "the number of worker threads, defaults to two times the number of available processors. Set it to 0 to avoid starting a worker.")
@CommandLine.Option(names = {"--worker-thread"}, description = "the number of worker threads, defaults to four times the number of available processors. Set it to 0 to avoid starting a worker.")
private int workerThread = defaultWorkerThread();

@CommandLine.Option(names = {"--skip-executions"}, split=",", description = "a list of execution identifiers to skip, separated by a coma; for troubleshooting purpose only")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class WorkerCommand extends AbstractServerCommand {
@Inject
private ApplicationContext applicationContext;

@Option(names = {"-t", "--thread"}, description = "the max number of worker threads, defaults to two times the number of available processors")
@Option(names = {"-t", "--thread"}, description = "the max number of worker threads, defaults to four times the number of available processors")
private int thread = defaultWorkerThread();

@Option(names = {"-g", "--worker-group"}, description = "the worker group key, must match the regex [a-zA-Z0-9_-]+ (EE only)")
Expand Down

0 comments on commit 61e0668

Please sign in to comment.