Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Added batch option for write_points #20

Merged
merged 1 commit into from
Apr 18, 2014
Merged

Added batch option for write_points #20

merged 1 commit into from
Apr 18, 2014

Conversation

manugarri
Copy link
Contributor

This PR allows for a batched write operation.

I was noticing that, when I was trying to push many points at once, I was getting connection Errors.

I added a batch_size parameter to the client.write_points function that creates a generator to split the points into sets of points that then are sent to the write_points_with_precision function.

@toddboom
Copy link
Contributor

@manugarri awesome, thanks!

toddboom added a commit that referenced this pull request Apr 18, 2014
Added batch option for write_points
@toddboom toddboom merged commit 6953f09 into influxdata:master Apr 18, 2014
@manugarri
Copy link
Contributor Author

:)

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