cryostat-legacy
cryostat-legacy copied to clipboard
HTTP request timeout should not apply to every request
The HTTP request timeout applied by the TimeoutHandler should not apply to all requests. For example, POST /api/v1/recordings
(uploading a recording back into the Cryostat archives) should be expected to be a long-running operation, and the request should not be timed out with a 500 response after 30s. Similarly, the timeout should not be applied when PATCH
ing a recording to signal Cryostat to copy it into its archives, since this may also take a significant amount of time depending on the size of the recording and the transfer rate between the two containers (which may vary significantly if the containers are on separate nodes, for example).