|
|
@ -1176,8 +1176,8 @@ bool t_rpc_command_executor::get_limit()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
tools::msg_writer() << "limit-down is " << res.limit_down/1024 << " kB/s";
|
|
|
|
tools::msg_writer() << "limit-down is " << res.limit_down << " kB/s";
|
|
|
|
tools::msg_writer() << "limit-up is " << res.limit_up/1024 << " kB/s";
|
|
|
|
tools::msg_writer() << "limit-up is " << res.limit_up << " kB/s";
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -1207,8 +1207,8 @@ bool t_rpc_command_executor::set_limit(int64_t limit_down, int64_t limit_up)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
tools::msg_writer() << "Set limit-down to " << res.limit_down/1024 << " kB/s";
|
|
|
|
tools::msg_writer() << "Set limit-down to " << res.limit_down << " kB/s";
|
|
|
|
tools::msg_writer() << "Set limit-up to " << res.limit_up/1024 << " kB/s";
|
|
|
|
tools::msg_writer() << "Set limit-up to " << res.limit_up << " kB/s";
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -1235,7 +1235,7 @@ bool t_rpc_command_executor::get_limit_up()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
tools::msg_writer() << "limit-up is " << res.limit_up/1024 << " kB/s";
|
|
|
|
tools::msg_writer() << "limit-up is " << res.limit_up << " kB/s";
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -1262,7 +1262,7 @@ bool t_rpc_command_executor::get_limit_down()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
tools::msg_writer() << "limit-down is " << res.limit_down/1024 << " kB/s";
|
|
|
|
tools::msg_writer() << "limit-down is " << res.limit_down << " kB/s";
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|