diff options
| author | root <[email protected]> | 2024-08-28 02:55:58 +0000 |
|---|---|---|
| committer | root <[email protected]> | 2024-08-28 02:55:58 +0000 |
| commit | 21c77b2589d9bfce94dd687d5442268c8c604a42 (patch) | |
| tree | 9893608a67d9c3f081d00d9bee69d65ffc7873f6 /shaping/src/main.cpp | |
| parent | 1ab14decc6d7aee9505b7f0226ec4f922a5a4cae (diff) | |
TSG-22320: 修改metric发送检查时间间隔为10ms
Diffstat (limited to 'shaping/src/main.cpp')
| -rw-r--r-- | shaping/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shaping/src/main.cpp b/shaping/src/main.cpp index 6d210ea..3fa2c5a 100644 --- a/shaping/src/main.cpp +++ b/shaping/src/main.cpp @@ -125,7 +125,7 @@ int main(int argc, char **argv) last_stat_update_time = curr_time; } - sleep(ctx->stat->output_interval_s); + usleep(ctx->stat->output_interval_s * 1000); } for (int i = 0; i < ctx->thread_num; i++) { |
