Skip to content

Commit 892a31b

Browse files
committed
gw: Bump keepalive timeout to 5 seconds
Bump the keepalive timeout to 5 seconds in the Gateway server Gunicorn configuration. This is meant to encourage long-lived connections between the Gateway and the CogStack Model Gateway Client, which often performs periodic polling to detect task completion. Signed-off-by: Phoevos Kalemkeris <[email protected]>
1 parent c7694c9 commit 892a31b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cogstack_model_gateway/gateway/gunicorn.conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
bind = "0.0.0.0:8000"
44

55
workers = 4
6-
6+
keepalive = 5
77
worker_class = "uvicorn.workers.UvicornWorker"
88

99

0 commit comments

Comments
 (0)