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

nsq_to_http handler logging #103

Merged
merged 1 commit into from
Dec 14, 2012
Merged

Conversation

mreiferson
Copy link
Member

want more information to be able to debug runtime behavior cc @jehiah

@mreiferson
Copy link
Member Author

ok, ready @jehiah (tested in VM)

@@ -33,6 +37,7 @@ var (
roundRobin = flag.Bool("round-robin", false, "enable round robin mode")
throttleFraction = flag.Float64("throttle-fraction", 1.0, "publish only a fraction of messages")
httpTimeoutMs = flag.Int("http-timeout-ms", 20000, "timeout for HTTP connect/read/write (each)")
statusEvery = flag.Int("status-every", 250, "the # of requests between logging status (per handler)")
Copy link
Member

Choose a reason for hiding this comment

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

would be good to mention something like "use 0 to disable." in the help msg

@mreiferson
Copy link
Member Author

squashed @jehiah

jehiah added a commit that referenced this pull request Dec 14, 2012
@jehiah jehiah merged commit 1211c7a into nsqio:master Dec 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants