Skip to content

Commit f18e43c

Browse files
committed
🔧(tray) increase connection timeout for peertube runner requests
Some requests to the `success` endpoint ends up returning a 504 Timeout, usually for the bigger vod files. The `success` endpoint loads the converted video file and manipulates it, which could be taking some time. Increasing the connection timeout on the Nginx conf to 300s so it does not timeout due to longer files.
1 parent e08df05 commit f18e43c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ Versioning](https://semver.org/spec/v2.0.0.html).
88

99
## [Unreleased]
1010

11+
### Changed
12+
13+
- Increase connection timeout on Nginx for peertube runner success request
14+
1115
## [5.5.3] - 2025-01-09
1216

1317
### Fixed

src/tray/templates/services/nginx/configs/marsha.conf.j2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ server {
105105

106106
location /api/v1/runners {
107107
client_max_body_size 4000m;
108+
109+
proxy_connect_timeout 300s;
110+
proxy_send_timeout 300s;
111+
proxy_read_timeout 300s;
112+
108113
try_files $uri @proxy_to_marsha_app;
109114
}
110115

0 commit comments

Comments
 (0)