Hi Andy

Thanks for your explanation of the current situation a couple of days ago. I'm 
happy to have a go at hacking something together so that Joseki can make use of 
the timeout mechanism, but would welcome some pointers on how to get started.

Looks like I would need to adapt the existing SPARQL.java processor in Joseki 
to call the setTimeout method of QueryExecution before running the query - so 
in SPARQL.executeQuery, somewhere before the call to qexec.execSelect() etc. 
(and if I wanted to get fancy I could read the value out of the config file and 
pass it through the various service set up classes).

What happens if the query does time out - does it return the result set 'so 
far'? If no results have been found, does it return an empty result set? Any 
exception to be caught and handled?  Should I do something extra in the 
ResponseCallback?

Thanks in advance for any advice

Bill

Reply via email to