rtr的输入换成ccr文件
This commit is contained in:
@@ -63,7 +63,7 @@ cargo run --bin rtr_debug_client -- <addr> <version> [reset|serial <session_id>
|
||||
- `version`: `1`
|
||||
- `mode`: `reset`
|
||||
- `timeout`: `30`
|
||||
- `poll`: `60`
|
||||
- `poll`: `600`
|
||||
|
||||
## TCP 示例
|
||||
|
||||
@@ -148,7 +148,7 @@ cargo run --bin rtr_debug_client -- \
|
||||
等待下一个 PDU 的读取超时时间,单位秒。
|
||||
|
||||
- `--poll <secs>`
|
||||
在尚未拿到 `EndOfData` timing hint 前,默认使用的自动轮询间隔。
|
||||
在尚未拿到 `EndOfData` timing hint 前,默认使用的自动轮询间隔。默认值为 `600` 秒,对齐 draft 第 6 节的默认 Retry Interval。
|
||||
|
||||
- `--keep-after-error`
|
||||
收到 `ErrorReport` 后不暂停自动轮询。
|
||||
|
||||
@@ -21,7 +21,7 @@ use crate::pretty::{
|
||||
use crate::protocol::{PduHeader, PduType, QueryMode};
|
||||
|
||||
const DEFAULT_READ_TIMEOUT_SECS: u64 = 30;
|
||||
const DEFAULT_POLL_INTERVAL_SECS: u64 = 60;
|
||||
const DEFAULT_POLL_INTERVAL_SECS: u64 = 600;
|
||||
|
||||
trait AsyncStream: AsyncRead + AsyncWrite + Unpin + Send {}
|
||||
impl<T> AsyncStream for T where T: AsyncRead + AsyncWrite + Unpin + Send {}
|
||||
|
||||
Reference in New Issue
Block a user