-
Notifications
You must be signed in to change notification settings - Fork 629
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
Adjust sync cycle #328
Adjust sync cycle #328
Conversation
fixes #326 |
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.
Logic seems good, but need to follow google c style.
visualdl/logic/im.cc
Outdated
if (data_->parent()->meta.ToSync()) { | ||
Sync(); | ||
} | ||
CHECK(data_); |
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.
The c++ code should follow google c style, indent 2 spaces not 4 spaces.
clang-format
can format c++ code automatically.
Updated. |
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.
LGTM
Roughly keep the sync happens every 15~25 seconds.