From b52bd24373f20c937e6a717b37e097b345eec430 Mon Sep 17 00:00:00 2001 From: Shailesh Patil Date: Thu, 30 Nov 2023 11:13:45 +0000 Subject: [PATCH] feat: Update timeout settings for websocket (#191) * feat: Update timeout settings for websocket Signed-off-by: mineme0110 * feat: Update timeout for read and send to 8hours Signed-off-by: mineme0110 --------- Signed-off-by: mineme0110 Co-authored-by: mineme0110 Signed-off-by: Shailesh Patil Signed-off-by: mineme0110 --- infrastructure/charts/mediator/templates/apisixroute.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/infrastructure/charts/mediator/templates/apisixroute.yaml b/infrastructure/charts/mediator/templates/apisixroute.yaml index e9e6aa91..fbfe23c7 100644 --- a/infrastructure/charts/mediator/templates/apisixroute.yaml +++ b/infrastructure/charts/mediator/templates/apisixroute.yaml @@ -19,6 +19,10 @@ spec: backends: - serviceName: mediator-service servicePort: 8080 + timeout: + connect: 60s + read: 8h + send: 8h websocket: true plugins: - name: proxy-rewrite