Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix some typos #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/replayer/replayer-conf.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Replayer-Agent的配置文件都在 **[./replayer-agent/conf](../../replayer-age
* addr = ":8998" # Replayer-Agent Web Server默认监听端口,可以修改
* handlerTimeout = 60000 # Handler timeout(ms), default 60000
* readHeaderTimeout = 2000 # Request header timeout(ms), default 2000
* readTimeout = 5000 # Recieve http request timeout(ms), including the body, default 5000
* writeTimeout = 21000 # Recieve http body and response timeout(ms), default 21000
* readTimeout = 5000 # Receive http request timeout(ms), including the body, default 5000
* writeTimeout = 21000 # Receive http body and response timeout(ms), default 21000
* idleTimeout = 60000 # Keep-alive timeout(ms), default 60000

<br>
Expand Down
4 changes: 2 additions & 2 deletions recorder-agent/conf/app.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
[http]
http_addr = ":9003" # Listen ip:port, http server地址
handlerTimeout = 1000 # Handler timeout(ms), default 5000
readTimeout = 1000 # Recieve http request timeout(ms), including the body
writeTimeout = 1000 # Recieve http body and response timeout(ms)
readTimeout = 1000 # Receive http request timeout(ms), including the body
writeTimeout = 1000 # Receive http body and response timeout(ms)
idleTimeout = 5000 # Keep-alive timeout(ms)

[log]
Expand Down
4 changes: 2 additions & 2 deletions recorder/koala_grpc/recording/id.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ package recording
// - Non configured, you don't need set a unique machine and/or data center id
// - K-ordered
// - Embedded time with 1 second precision
// - Unicity guaranted for 16,777,216 (24 bits) unique ids per second and per host/process
// - Unicity guaranteed for 16,777,216 (24 bits) unique ids per second and per host/process
//
// Best used with xlog's RequestIDHandler (https://godoc.org/github.com/rs/xlog#RequestIDHandler).
//
Expand Down Expand Up @@ -123,7 +123,7 @@ func randInt() uint32 {
return uint32(b[0])<<16 | uint32(b[1])<<8 | uint32(b[2])
}

// New generates a globaly unique ID
// New generates a globally unique ID
func newID() ID {
var id ID
// Timestamp, 4 bytes, big endian
Expand Down
4 changes: 2 additions & 2 deletions replayer-agent/conf/app.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ version = "1.0.2"
addr = ":8998" # 默认agent启动端口,可以修改
handlerTimeout = 60000 # Handler timeout(ms), default 5000
readHeaderTimeout = 2000 # Request header timeout(ms), default 2000
readTimeout = 5000 # Recieve http request timeout(ms), including the body, default 5000
writeTimeout = 21000 # Recieve http body and response timeout(ms), default 10000
readTimeout = 5000 # Receive http request timeout(ms), including the body, default 5000
writeTimeout = 21000 # Receive http body and response timeout(ms), default 10000
idleTimeout = 60000 # Keep-alive timeout(ms), default 60000

[log]
Expand Down
2 changes: 1 addition & 1 deletion replayer-agent/control.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function build() {
printf "${info_msg}go mod download, please wait~ \n"
go mod download
if [ $? -ne 0 ]; then
printf "${error_msg}build failed at executing go mod download, please check \$GOPROXY or try agian!!!\n"
printf "${error_msg}build failed at executing go mod download, please check \$GOPROXY or try again!!!\n"
exit 1
fi

Expand Down