aboutsummaryrefslogtreecommitdiffstats
path: root/modules/cmd_args.py
diff options
context:
space:
mode:
authorTangJicheng <tangjch15@gmail.com>2023-07-11 08:30:57 +0000
committerGitHub <noreply@github.com>2023-07-11 08:30:57 +0000
commit10d4e4ace2d243c020e6a83060c938dee7d8c02d (patch)
treea67129438d6ba2abd5670d8a1d5e7205c2dd0c76 /modules/cmd_args.py
parentf865d3e11647dfd6c7b2cdf90dde24680e58acd8 (diff)
downloadstable-diffusion-webui-gfx803-10d4e4ace2d243c020e6a83060c938dee7d8c02d.tar.gz
stable-diffusion-webui-gfx803-10d4e4ace2d243c020e6a83060c938dee7d8c02d.tar.bz2
stable-diffusion-webui-gfx803-10d4e4ace2d243c020e6a83060c938dee7d8c02d.zip
add cmd_args: --timeout-keep-alive
Diffstat (limited to 'modules/cmd_args.py')
-rw-r--r--modules/cmd_args.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/cmd_args.py b/modules/cmd_args.py
index de905caa..982d9055 100644
--- a/modules/cmd_args.py
+++ b/modules/cmd_args.py
@@ -107,3 +107,4 @@ parser.add_argument("--no-hashing", action='store_true', help="disable sha256 ha
parser.add_argument("--no-download-sd-model", action='store_true', help="don't download SD1.5 model even if no model is found in --ckpt-dir", default=False)
parser.add_argument('--subpath', type=str, help='customize the subpath for gradio, use with reverse proxy')
parser.add_argument('--add-stop-route', action='store_true', help='add /_stop route to stop server')
+parser.add_argument('--timeout-keep-alive', type=int, default=30, help='set timeout_keep_alive for uvicorn')