change startExecTs used to seconds
This commit is contained in:
parent
f1b44426ae
commit
e415d0f359
|
@ -2395,7 +2395,7 @@ bool isQueryKilled(SQInfo *pQInfo) {
|
||||||
|
|
||||||
// query has been executed more than tsShellActivityTimer, and the retrieve has not arrived
|
// query has been executed more than tsShellActivityTimer, and the retrieve has not arrived
|
||||||
// abort current query execution.
|
// abort current query execution.
|
||||||
if (pQInfo->owner != 0 && ((taosGetTimestampSec() - pQInfo->startExecTs) > getMaximumIdleDurationSec()) &&
|
if (pQInfo->owner != 0 && ((taosGetTimestampSec() - pQInfo->startExecTs/1000) > getMaximumIdleDurationSec()) &&
|
||||||
(!needBuildResAfterQueryComplete(pQInfo))) {
|
(!needBuildResAfterQueryComplete(pQInfo))) {
|
||||||
|
|
||||||
assert(pQInfo->startExecTs != 0);
|
assert(pQInfo->startExecTs != 0);
|
||||||
|
|
Loading…
Reference in New Issue