summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author刘畅 <[email protected]>2023-12-08 07:39:02 +0000
committer刘畅 <[email protected]>2023-12-08 07:39:02 +0000
commit271e61cddff9716b2bef577cc545e78e1829df33 (patch)
treed631b19525193d3f5528f04315a84d2dd4ae0657
parentb2e221093a0afa5ff4a0d530ed5a6336d7df88af (diff)
parentd420aeae27a5f5e721e53281722eae51cbd27bfd (diff)
Merge branch 'update_compile_table_info' into 'rel'v1.3.12
修复table_info 修改错误 See merge request tango/shaping-engine!60
-rw-r--r--conf/table_info.json4
-rw-r--r--shaping/src/shaper.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/conf/table_info.json b/conf/table_info.json
index a792caa..a05c22c 100644
--- a/conf/table_info.json
+++ b/conf/table_info.json
@@ -3,11 +3,11 @@
"table_id": 0,
"table_name": "TRAFFIC_SHAPING_COMPILE",
"table_type": "plugin",
- "valid_column": 8,
+ "valid_column": 9,
"custom": {
"key": 1,
"key_type": "integer",
- "key_len": 9
+ "key_len": 8
}
},
{
diff --git a/shaping/src/shaper.cpp b/shaping/src/shaper.cpp
index e0fc695..a88fd58 100644
--- a/shaping/src/shaper.cpp
+++ b/shaping/src/shaper.cpp
@@ -434,7 +434,7 @@ static void shaper_token_get_cb(const struct swarmkv_reply *reply, void * cb_arg
shaper_global_stat_async_callback_inc(ctx->global_stat);
shaper_global_stat_tconsume_callback_inc(ctx->global_stat);
- LOG_INFO("Swarmkv reply type =%d, direction =%d, integer =%llu",reply->type, arg->direction, reply->integer);
+ LOG_INFO("Swarmkv reply type =%d, profile_id %d, direction =%d, integer =%llu",reply->type, profile->id, arg->direction, reply->integer);
if (reply->type != SWARMKV_REPLY_INTEGER) {
shaper_global_stat_async_tconsume_failed_inc(ctx->global_stat);