Skip to content

Conversation

@jetfuel
Copy link
Collaborator

@jetfuel jetfuel commented Mar 20, 2018

Roughly keep the sync happens every 15~25 seconds.

@jetfuel jetfuel self-assigned this Mar 20, 2018
@jetfuel
Copy link
Collaborator Author

jetfuel commented Mar 20, 2018

fixes #326

Copy link
Contributor

@Superjomn Superjomn left a 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.

if (data_->parent()->meta.ToSync()) {
Sync();
}
CHECK(data_);
Copy link
Contributor

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.

@jetfuel jetfuel requested a review from daming-lu March 21, 2018 22:39
@jetfuel
Copy link
Collaborator Author

jetfuel commented Mar 21, 2018

Updated.

Copy link
Contributor

@Superjomn Superjomn left a comment

Choose a reason for hiding this comment

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

LGTM

@jetfuel jetfuel merged commit 2267c4e into PaddlePaddle:develop Mar 22, 2018
@jetfuel jetfuel deleted the adjustSyncCycle branch March 22, 2018 17:34
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