Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

xdmp:elapsed-time #191

Open
prestonmcgowan opened this issue Mar 19, 2014 · 0 comments
Open

xdmp:elapsed-time #191

prestonmcgowan opened this issue Mar 19, 2014 · 0 comments

Comments

@prestonmcgowan
Copy link

I have found it useful for debug testing to include the elapsed time in the response headers.

Not knowing everything about the Roxy codebase, I have changed the query-router and update-router to return the following.

(
router:route()
,
xdmp:add-response-header("execution-time", fn:string(xdmp:elapsed-time()))
)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants