Skip to content

Change embedded DefaultSyncFileLimit to 500 #153

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

Merged
merged 1 commit into from
Mar 7, 2019

Conversation

bcomnes
Copy link
Contributor

@bcomnes bcomnes commented Mar 7, 2019

We are also setting this as a default on BitBalloon, but in case anyone uses this elsewhere, they will get the correct default.

We are also setting this as a default on BitBalloon, but in case anyone uses this elsewhere, they will get the correct default.
@bcomnes bcomnes self-assigned this Mar 7, 2019
n.syncFileLimit = limit
if limit > 0 {
n.syncFileLimit = limit
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This way, 0 value will take the default value given the way the buildbot initializes this client: https://github.com/netlify/buildbot/blob/5a312d8ce9ade738407c76651271f2b27353a6c9/api/api.go#L71-L72

@bcomnes bcomnes changed the title Change embeeded DefaultSyncFileLimit to 500 Change embedded DefaultSyncFileLimit to 500 Mar 7, 2019
@bcomnes bcomnes merged commit 6b4ef44 into master Mar 7, 2019
@bcomnes bcomnes deleted the default-sync-file-limit branch March 7, 2019 01:14
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