在删除配置时,误判事务失败,导致出现错误的告警并多次重试。已修复

This commit is contained in:
zhengchao
2018-04-24 22:32:04 +08:00
parent 8fcdf53694
commit cceaa90e67
3 changed files with 46 additions and 50 deletions

View File

@@ -22,7 +22,7 @@ void maat_tool_print_usage(void)
printf("\t-n [db], redis db, 0 as default.\n");
printf("\t-d [dir], dump rules from redis to [dir], %s as default.\n",redis_dump_dir);
printf("\t-j [payload.json], add or delete rules as maat json. Must have field compile_table field, and plugin table's valid flag must be in the last column.\n");
printf("\t-t [timeout], timeout config after t seconds, default 0, not timeout.\n");
printf("\t-t [timeout], timeout config after t seconds, default is 0 which means never timeout.\n");
printf("example: ./maat_redis_tool -h 127.0.0.1 -p 6379 -d %s\n",redis_dump_dir);
printf(" ./maat_redis_tool -h 127.0.0.1 -p 6379 -j payload.json -t 300\n");
return;