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

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