Skip to content
This repository has been archived by the owner on Jul 31, 2020. It is now read-only.

add isTruncated parameter to GET_EXISTING_OBJECTS #73

Merged
merged 1 commit into from
Apr 19, 2017
Merged

Conversation

diracdeltas
Copy link
Member

mostly for serg to know when to stop getting the initial sync records

also sends GET_EXISTING_OBJECTS and RESOLVED_SYNC_RECORDS regardless of whether records is empty, as joel requested

fix #72

@diracdeltas diracdeltas requested a review from ayumi April 18, 2017 19:02
diracdeltas added a commit to brave/browser-laptop that referenced this pull request Apr 18, 2017
Copy link
Contributor

@ayumi ayumi left a comment

Choose a reason for hiding this comment

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

client/sync.js Outdated
* @param {Array.<Uint8Array>} s3Objects
* @returns {Array.<Object}
*/
const getJSRecords_ = (s3Objects) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

whats the postfix underscore for

Copy link
Member Author

Choose a reason for hiding this comment

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

it's a JS convention for a private method/var, same as the prefix usage of underscore

mostly for serg to know when to stop getting the initial sync records

also sends GET_EXISTING_OBJECTS and RESOLVED_SYNC_RECORDS regardless of whether records is empty, as joel requested

fix #72
@diracdeltas diracdeltas merged commit bb338f7 into staging Apr 19, 2017
diracdeltas added a commit to brave/browser-laptop that referenced this pull request Apr 19, 2017
bsclifton pushed a commit to brave/browser-laptop that referenced this pull request Apr 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

when limitResponse is used, sync should indicate if data is truncated
2 participants