-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hotfix(analytics) more robust buffer
- Fix a critical issue where the buffer was not flushing itself when reaching the max size (in bytes). - Better logging in case of refused batch (number of items, size of the batch). - Dropping of the batch if it is refused by the socket server (HTTP 400). - If a batch is not accepted for another reason, it is now pushed to the **end** of the queue instead of keeping blocking it. - Dropping single ALF objects that exceed the max bytes size by themselves. - Retry timer now waits 2 seconds. - Tests for size limit reaching.
- Loading branch information
1 parent
e302901
commit fc99855
Showing
4 changed files
with
81 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters