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

coding style fix in brpc/trackme.cpp #1270

Merged
merged 1 commit into from
Oct 20, 2020
Merged

coding style fix in brpc/trackme.cpp #1270

merged 1 commit into from
Oct 20, 2020

Conversation

gydong
Copy link
Contributor

@gydong gydong commented Oct 20, 2020

  1. change the prefix of static global variables from "g_" to "s_" in brpc/trackme.cpp.
  2. delete outdated comments in src/bthread/task_group.cpp.
  3. all other changes are the trailing spaces.

@@ -43,11 +43,11 @@ static const int32_t TRACKME_MIN_INTERVAL = 30;
static const int32_t TRACKME_MAX_INTERVAL = 600;
static int32_t s_trackme_interval = TRACKME_MIN_INTERVAL;
Copy link
Contributor

Choose a reason for hiding this comment

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

s_traceme_interval => g_traceme_interval?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

"s" stands for "static"

@jamesge jamesge merged commit b1f7ea0 into apache:master Oct 20, 2020
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.

None yet

3 participants