Works for me. Thanks. /Andy
On Tue, 21 Nov 2023 at 15:33, Christian Grün christian.gruen@gmail.com wrote:
Hi Andy,
Thanks for the observation. I’ve fixed the problem (backed by an additional JUnit test), and a new snapshot is online [1].
Best, Christian
[1] https://files.basex.org/releases/latest/
On Mon, Nov 20, 2023 at 12:36 PM Andy Bunce bunce.andy@gmail.com wrote:
Hi,
Back in the winter of 2017, BaseX 8.6 , I reported an issue with job duration [1]
A question about jobs:list-details[2] I had expected the attribute duration: evaluation time (for running and cached jobs) to be frozen once the job is cached.
Using BaseX 10.7 it seems this issue is back
job:eval("42",(),map{"cache":true()}) job24 job:list-details("job24") <job id="job24" type="QueryJob" state="cached" user="admin" duration="PT39.031S" reads="(none)" writes="(none)" time="2023-11-20T11:23:44.133Z">42</job> job:list-details("job24") <job id="job24" type="QueryJob" state="cached" user="admin" duration="PT2M35.894S" reads="(none)" writes="(none)" time="2023-11-20T11:23:44.133Z">42</job>
/Andy
[1] https://www.mail-archive.com/basex-talk@mailman.uni-konstanz.de/msg09036.htm... [2] https://docs.basex.org/wiki/Job_Module#job:list-details https://docs.basex.org/wiki/Job_Module#job:list-details