add redis configuration and update workers default value

This commit is contained in:
yangdx
2025-02-25 10:47:27 +08:00
parent 04fc5ce604
commit 7262f61b0e
2 changed files with 6 additions and 2 deletions

View File

@@ -325,8 +325,8 @@ def parse_args() -> argparse.Namespace:
parser.add_argument(
"--workers",
type=int,
default=get_env_value("WORKERS", 2, int),
help="Number of worker processes (default: from env or 2)",
default=get_env_value("WORKERS", 1, int),
help="Number of worker processes (default: from env or 1)",
)
# LLM and embedding bindings