diff options
| author | root <[email protected]> | 2023-12-14 03:47:22 +0000 |
|---|---|---|
| committer | root <[email protected]> | 2023-12-14 03:47:22 +0000 |
| commit | ac48bafa5732f7a7755ba73cc5a4b44a48dacf2e (patch) | |
| tree | 2c2cc0dbefa23fae98afb6aef92385b6d624d264 /shaping/src/shaper.cpp | |
| parent | 271e61cddff9716b2bef577cc545e78e1829df33 (diff) | |
TSG-17830: split-by profile ignore priority
Diffstat (limited to 'shaping/src/shaper.cpp')
| -rw-r--r-- | shaping/src/shaper.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shaping/src/shaper.cpp b/shaping/src/shaper.cpp index a88fd58..6ae35f0 100644 --- a/shaping/src/shaper.cpp +++ b/shaping/src/shaper.cpp @@ -653,6 +653,10 @@ static int shaper_profile_is_priority_blocked(struct shaping_thread_ctx *ctx, st return 0; } + if (profile->type == PROFILE_TYPE_SPLIT_BY_LOCAL_HOST) {//split-by profile don't need to check priority + return 0; + } + if (curr_time_ms - profile->hash_node->last_hmget_ms[priority] < HMGET_REQUEST_INTERVAL_MS) {//don't send hmget command in 1s goto END; } |
