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

[MISC]Edit log for debugging in pusherv3 #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

ericfan17
Copy link
Contributor

No description provided.

pusher/main.go Outdated
@@ -414,6 +414,7 @@ func main() {
log.Fatalf("error connecting to etcd machines, %s", *machines)
}
fmt.Printf("connected to etcd machines %s\n", ensembleStr)
fmt.Printf("MaxCallSendMsgSize for etcd client set to %d\n", 8*1024*1024)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我以為可以印 MaxCallSendMsgSize 就好,不用hardcode,還是說拿不到那個變數值?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我訂一個const來做比較方便

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants