sleep is nanosecond unint

This commit is contained in:
Alex Duan 2025-01-23 21:41:05 +08:00
parent 717b8dde62
commit ee2e9f3de8
2 changed files with 2 additions and 2 deletions

View File

@ -471,7 +471,7 @@ Configuration parameters for querying specified tables (can specify supertables,
The total number of queries(`General Query`) = the number of `sqls` * `query_times` * `threads`
The total number of queries(`Mixed Query`) = the number of `sqls` * `query_times`
- **query_interval** : Query interval, in milliseconds, default is 0.
- **query_interval** : Query interval, in nanosecond, default is 0.
- **threads** : Number of threads executing the SQL query, default is 1.

View File

@ -392,7 +392,7 @@ interval 控制休眠时间,避免持续查询慢查询消耗 CPU ,单位为
`混合查询``sqls` 中所有 sql 分成 `threads` 个组,每个线程执行一组, 每个 sql 都需执行 `query_times` 次查询
`查询总次数` = `sqls` 个数 * `query_times`
- **query_interval** : 查询时间间隔,单位是毫秒,默认值为 0。
- **query_interval** : 查询时间间隔,单位: nanosecond,默认值为 0。
- **threads** : 执行查询 SQL 的线程数,默认值为 1。