Skip to content

Commit 243f7f8

Browse files
committed
fix: function worker timeout for shimmy changed
1 parent c87cd2d commit 243f7f8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ COPY --from=models ${MODEL_PATH} ${MODEL_PATH}
5959
# RUN python -m nltk.downloader punkt
6060
# RUN python -m nltk.downloader punkt_tab
6161

62+
# Worker process start timeout to allow shimmy to start considering all downloads
63+
ENV FUNCTION_WORKER_SEND_TIMEOUT=600
64+
65+
# Worker process stop timeout to allow shimmy to stop the container
66+
ENV FUNCTION_WORKER_STOP_TIMEOUT=300
67+
6268
ENV EVAL_RPC_TRANSPORT="ipc"
6369

6470
# Command to start the evaluation function with

0 commit comments

Comments
 (0)