-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Increment the backoff exponentially #3237
Conversation
Address comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some style changes needed.
src/rdkafka_metadata.c
Outdated
@@ -1234,8 +1234,7 @@ static void rd_kafka_metadata_leader_query_tmr_cb (rd_kafka_timers_t *rkts, | |||
rk->rk_conf.metadata_refresh_interval_ms) | |||
rd_kafka_timer_stop(rkts, rtmr, 1/*lock*/); | |||
else | |||
rd_kafka_timer_backoff(rkts, rtmr, | |||
(int)rtmr->rtmr_interval); | |||
rd_kafka_timer_exp_backoff(rkts, rtmr); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use 8 whitespace indent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry missed that. Addressed it.
Thank you! |
Address issue #3166