Skip to content

Commit 88f57af

Browse files
committed
change timeout for modal
1 parent 3605cad commit 88f57af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/modal/webserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def download_models():
5656
# Run a web server on port 7997 and expose the Infinity embedding server
5757
@app.function(
5858
# allow up to 16 requests pending on a single container
59-
allow_concurrent_inputs=16,
59+
allow_concurrent_inputs=8,
6060
# boots take around 30 seconds, so keep containers alive for a few times longer
6161
container_idle_timeout=3 * MINUTES,
6262
# max 5 container instances

0 commit comments

Comments
 (0)