chore: code optimization
This commit is contained in:
parent
1d23b0215c
commit
dffdbb53f6
|
@ -968,7 +968,7 @@ int64_t taosGetOsUptime() {
|
||||||
struct sysinfo info;
|
struct sysinfo info;
|
||||||
if (0 == sysinfo(&info)) {
|
if (0 == sysinfo(&info)) {
|
||||||
return (int64_t)info.uptime * 1000;
|
return (int64_t)info.uptime * 1000;
|
||||||
};
|
}
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue