Currently, the doc of QueryOptions.timeout is
/**
* Every operation takes an optional inactivity timeout option. This allows you to specify appropriate timeouts for
* operations. It is important to note that these timeouts are not part of the MySQL protocol, and rather timeout
* operations through the client. This means that when a timeout is reached, the connection it occurred on will be
* destroyed and no further operations can be performed.
*/
Notice the first sentence Every operation takes an optional **inactivity** timeout option.
After I read the source code, I find that it is not timeout about inactivity of query, it is actually that timeout of duration from query start to end. And to Query.stream, it is from stream start read to the last read end.
Am I right?
Currently, the doc of QueryOptions.timeout is
Notice the first sentence
Every operation takes an optional **inactivity** timeout option.After I read the source code, I find that it is not timeout about inactivity of query, it is actually that timeout of duration from query start to end. And to
Query.stream, it is from stream start read to the last read end.Am I right?