Skip to content
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

fix: Send remaining queue items if there are more than chunkSize #107

Merged
merged 2 commits into from
Oct 6, 2023

Conversation

TysonAndre
Copy link
Contributor

When the datapointsLength in a call to send() exceeded the chunkSize, the excess items would remain in the queue until there was another call with fewer than chunkSize datapoints.

If there were no future calls to send(), the items would remain in the queue.

For now, only do this when the previous data is successfully sent to signalfx

Fixes #105

@TysonAndre TysonAndre requested review from a team as code owners October 3, 2023 16:40
@TysonAndre TysonAndre force-pushed the send-remaining-queue-items branch 2 times, most recently from 5bff5bf to 1a1f2ec Compare October 6, 2023 15:33
When the datapointsLength in a call to send() exceeded the chunkSize,
the excess items would remain in the queue until there was another call
with fewer than chunkSize datapoints.

If there were no future calls to send(), the items would remain in the
queue.

For now, only do this when the previous data is successfully sent to signalfx

Fixes signalfx#105
@TysonAndre TysonAndre force-pushed the send-remaining-queue-items branch from 1a1f2ec to 909d6fa Compare October 6, 2023 15:33
@seemk
Copy link
Contributor

seemk commented Oct 6, 2023

Thanks! I'll do a new release on Monday, most likely 8.0.0 without the beta label

@seemk seemk merged commit 180ce42 into signalfx:main Oct 6, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants