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

Add requestUtil.bufferedPut to limit concurrency of put #122

Merged
merged 1 commit into from
Jun 29, 2017

Conversation

ayumi
Copy link
Contributor

@ayumi ayumi commented Jun 29, 2017

putConcurrency is configurable with ipc GOT_INIT_DATA.

Also deprecate SEND_SYNC_RECORDS category to be optional, defaulting to the record objectData.

Required for #112

@ayumi ayumi requested a review from diracdeltas June 29, 2017 22:02
ayumi added a commit to brave/browser-laptop that referenced this pull request Jun 29, 2017
@diracdeltas
Copy link
Member

diracdeltas commented Jun 29, 2017

looks like travis is borked tho prolly unrelated to this change

const s3Prefix = this.currentRecordPrefix(category)
const s3Keys = s3Helper.encodeDataToS3KeyArray(s3Prefix, record)
const encryptedRecord = this.encrypt(record)
const thisCategory = category || getRecordCategory(record)
Copy link
Member

Choose a reason for hiding this comment

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

should this throw an error if thisCategory is not one of the expected values?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes

Copy link
Member

@diracdeltas diracdeltas left a comment

Choose a reason for hiding this comment

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

blocked on travis being un-broken

Deprecate SEND_SYNC_RECORDS category to be optional and derived
from each record.

Required for #112
@ayumi ayumi force-pushed the fix/limit-put-concurrency branch from 04c2b05 to eae9b0d Compare June 29, 2017 23:30
@ayumi ayumi merged commit 04fd995 into staging Jun 29, 2017
@ayumi ayumi deleted the fix/limit-put-concurrency branch June 29, 2017 23:41
ayumi added a commit to brave/browser-laptop that referenced this pull request Jun 30, 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.

2 participants