Merge pull request #4261 from overleaf/jpa-fake-timed-out-response
[ClsiManager] respond w/ status=timedout for timed out compile requests GitOrigin-RevId: 2937355bfd8d58870509ab40c2ba19f014f82a37
This commit is contained in:
@@ -472,6 +472,9 @@ const ClsiManager = {
|
||||
}
|
||||
ClsiManager._makeRequest(projectId, opts, (err, response, body) => {
|
||||
if (err != null) {
|
||||
if (err.code === 'ESOCKETTIMEDOUT') {
|
||||
return callback(null, { compile: { status: 'timedout' } })
|
||||
}
|
||||
return callback(
|
||||
new OError('failed to make request to CLSI', {
|
||||
projectId,
|
||||
|
||||
Reference in New Issue
Block a user