diff --git a/docs/features/service.md b/docs/features/service.md index 0143cca45..8fa5ffe32 100644 --- a/docs/features/service.md +++ b/docs/features/service.md @@ -181,19 +181,19 @@ When a request context is successfully created, a `context id` is returned to th ```bash # create a repeated request context, with no callback -irisc tx service call --service-name= --data= --providers= --service-fee-cap=1iris --timeout 50 --repeated --frequency=50 --total=100 +iris tx service call --service-name= --data= --providers= --service-fee-cap=1iris --timeout 50 --repeated --frequency=50 --total=100 # update an existing request context -irisc tx service update --frequency=20 --total=200 +iris tx service update --frequency=20 --total=200 # pause a running request context -irisc tx service pause +iris tx service pause # start a paused request context -irisc tx service start +iris tx service start # permanently kill a request context -irisc tx service kill +iris tx service kill # query a previously created request context by its id iris q service request-context diff --git a/docs/zh/features/service.md b/docs/zh/features/service.md index 1c9ea852c..6aaded6d6 100644 --- a/docs/zh/features/service.md +++ b/docs/zh/features/service.md @@ -181,19 +181,19 @@ iris q service schema pricing ```bash # 创建一个重复性的请求上下文(无回调函数) -irisc tx service call --service-name= --data= --providers= --service-fee-cap=1iris --timeout 50 --repeated --frequency=50 --total=100 +iris tx service call --service-name= --data= --providers= --service-fee-cap=1iris --timeout 50 --repeated --frequency=50 --total=100 # 更新一个存在的请求上下文 -irisc tx service update --frequency=20 --total=200 +iris tx service update --frequency=20 --total=200 # 暂停一个正在运行的请求上下文 -irisc tx service pause +iris tx service pause # 启动一个暂停的请求上下文 -irisc tx service start +iris tx service start # 永久终止一个请求上下文 -irisc tx service kill +iris tx service kill # 通过 ID 查询请求上下文 iris q service request-context