Skip to content

Commit e43cef6

Browse files
committed
commenting out timing headers to get appserver to work with IIS
1 parent 9b5e83f commit e43cef6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/routes/solve.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ function commonSolve (req, res, next){
156156
}
157157

158158
}).then( (result) => {
159-
160-
const timeComputeServerCallComplete = performance.now()
159+
// Note: IIS does not send these headers which was causing an issue with the appserver response
160+
/*const timeComputeServerCallComplete = performance.now()
161161
162162
let computeTimings = computeServerTiming.get('server-timing')
163163
let sum = 0
@@ -181,7 +181,7 @@ function commonSolve (req, res, next){
181181
cache.set(res.locals.cacheKey, result)
182182
}
183183
184-
res.setHeader('Server-Timing', timing)
184+
res.setHeader('Server-Timing', timing)*/
185185
res.send(result)
186186
}).catch( (error) => {
187187
next(error)

0 commit comments

Comments
 (0)