-
Notifications
You must be signed in to change notification settings - Fork 60
Conversation
@bednar @nblumhardt could we get updates for the open pull requests please? |
@stmax82 I'm no longer a maintainer, here, sorry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @stmax82,
thanks for your PR.
Could you please update CHANGELOG.md
and add unit tests to cover your changes?
Regards
✅ Build influxdb-csharp 13 completed (commit bb2babbb26 by @stmax82) |
✅ Build influxdb-csharp 14 completed (commit 1bd9ce4fdc by @stmax82) |
✅ Build influxdb-csharp 15 completed (commit 54b0ed1d55 by @stmax82) |
Hi @bednar,
done - I updated the changelog and added a few tests for the LineProtocolClient with and without compression. |
✅ Build influxdb-csharp 16 completed (commit 4902a06e78 by @stmax82) |
✅ Build influxdb-csharp 17 completed (commit aad4b8024e by @bednar) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Hi @stmax82 , The issue is fixed in 1.2.0 milestone. If you would like to use a preview version use our nightly build: InfluxDB.LineProtocol 1.2.0-dev-00018. Regards |
I added gzip compression to HTTP POST requests.
Quick tests have shown that it reduces Content-Length down to 50% (for short single point requests) and down to <10% (for large multi-point requests).
Compression can be enabled using an optional parameter of the LineProtocolClient constructor.
Default is off so the behavior should be the same as before.