xiph / awcy

http://arewecompressedyet.com/
MIT License
70 stars 46 forks source link

server: Explicitly set the http.server timeout instead of default(2mins) #327

Closed vibhoothi closed 1 year ago

vibhoothi commented 1 year ago

Current nodejs version deployed v12.X have 2min timeout https://nodejs.org/docs/latest-v12.x/api/http.html#http_server_settimeout_msecs_callback

For CTC processing it takes more than that, so we require to set the timeout more than that, currently setting to 10mins which is a lot but okay for now,

Ideally we do not want such long waits, we want to split this into two, one API to initiate the geneartion, second API to send file on completition in form of second button.