I have a client that connects to a BaseX server using the Client/Server API. I am currently writing failure modes to handle connection failures during runtime, and I ran into a question that I don't immediately know the answer to: if a query is defined (which returns an ID), and the connection to the BaseX server fails immediately thereafter, and a new connection is immediately built, will the ID still be associated with the query in the BaseX server or will the query be automatically erased when the connection fails?
I will be testing to find the answer to this question shortly, but I wanted to ask, and also raise a more general question: on a BaseX server, how long do queries remain in memory and associated with a given ID (especially if the 'CLOSE' command (\2) is never received, such as when the connection simply stops)?
Thank yall for your time, Paul Fancher