diff options
| author | 刘畅 <[email protected]> | 2024-08-28 03:43:17 +0000 |
|---|---|---|
| committer | 刘畅 <[email protected]> | 2024-08-28 03:43:17 +0000 |
| commit | b0de64f0deb1672f0b183f72b99d615f00a73b3b (patch) | |
| tree | 9893608a67d9c3f081d00d9bee69d65ffc7873f6 /shaping/src | |
| parent | 1ab14decc6d7aee9505b7f0226ec4f922a5a4cae (diff) | |
| parent | 21c77b2589d9bfce94dd687d5442268c8c604a42 (diff) | |
Merge branch 'fixbug_metric_check_send_interval' into 'rel'v3.1.41
修改metric发送检查时间间隔为10ms
See merge request tango/shaping-engine!103
Diffstat (limited to 'shaping/src')
| -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++) { |
