Increase Request Read limit
This commit is contained in:
parent
0565f99212
commit
21801362f9
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ func handleWorkerWebsocket(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
defer c.CloseNow()
|
||||
|
||||
// Increase Read limit to 10 MB Since the task status might be very long due to ffmpeg log spam
|
||||
c.SetReadLimit(10000000)
|
||||
|
||||
// Track Connection
|
||||
func() {
|
||||
WorkersMutex.Lock()
|
||||
|
|
Loading…
Add table
Reference in a new issue