sasjs / server

Build Apps on Base SAS
https://server.sasjs.io
MIT License
20 stars 3 forks source link

configurable timeout #255

Closed allanbowe closed 2 years ago

allanbowe commented 2 years ago

Currently the timeout is 5 minutes. Beyond this, when running request such as /SASjsApi/stp/execute, the following is received (502 Bad Gateway):

image

The value can remain as 5 minutes, but should be configurable in the .env file, eg

REQUEST_TIMEOUT=600 # 10 mins in seconds

Links: https://github.com/analytium/dwp_frs/issues/300

allanbowe commented 2 years ago

Closing - this was due to a proxy server, not sasjs/server