diff options
| author | root <[email protected]> | 2024-03-21 03:30:55 +0000 |
|---|---|---|
| committer | root <[email protected]> | 2024-03-21 03:30:55 +0000 |
| commit | db240b23f54bd8f419a8fb70e0dabd06fe057338 (patch) | |
| tree | 440407c0cfef757b6333c765c18126588d84b1a5 /shaping/src/main.cpp | |
| parent | adec4a3d8eb5e826fd3c3ea340dd1143c66db75a (diff) | |
TSG-19771:定期刷新profile配置,在刷新周期内,配置改变造成的限速不准现象为正常情况,刷新周期为5秒
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 63b7a49..597230b 100644 --- a/shaping/src/main.cpp +++ b/shaping/src/main.cpp @@ -41,7 +41,7 @@ static void *shaper_thread_loop(void *data) session_table_reset_with_callback(ctx->session_table, shaper_session_data_free_cb, ctx); __atomic_fetch_and(&ctx->session_need_reset, 0, __ATOMIC_SEQ_CST); } - marsio_poll_wait(ctx->marsio_info->instance, &ctx->marsio_info->mr_dev, 1, ctx->thread_index, output_interval_s * 1000); + marsio_poll_wait(ctx->marsio_info->instance, &ctx->marsio_info->mr_dev, 1, ctx->thread_index, output_interval_s); } shaper_thread_resource_clear(); |
