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

Update redeliveryCount to deliveryCount across codebase #187

Merged
merged 2 commits into from
Jan 8, 2025
Merged

Conversation

aricart
Copy link
Member

@aricart aricart commented Jan 8, 2025

Renamed redeliveryCount to deliveryCount to better reflect its purpose, as it tracks all delivery attempts, not just redeliveries. Updated related logic, documentation, and test cases to align with the new naming. Added a migration note for developers regarding this change.

Fixes #186

Renamed `redeliveryCount` to `deliveryCount` to better reflect its purpose, as it tracks all delivery attempts, not just redeliveries. Updated related logic, documentation, and test cases to align with the new naming. Added a migration note for developers regarding this change.

Signed-off-by: Alberto Ricart <[email protected]>
@@ -171,8 +171,8 @@ export function parseInfo(s: string): DeliveryInfo {
di.account_hash = tokens[3];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines 156 and 167 should be updated too?
Also, seem like there is no .random in the end?

[15523] 2025/01/08 12:07:23.854376 [TRC] 127.0.0.1:49960 - wid:31 - <<- [PUB $JS.ACK.OCB2058BMO3S4M3H1PCXP2.OCB2058BMO3S4M3H1PDB10_1.1.98.98.1736366843626007307.2 4]   
[15523] 2025/01/08 12:07:23.854411 [TRC] 127.0.0.1:49960 - wid:31 - <<- MSG_PAYLOAD: ["+ACK"]     

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just fixed :)

Copy link

@scottf scottf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aricart aricart merged commit 7fa410d into main Jan 8, 2025
22 of 25 checks passed
@aricart aricart deleted the fix-186 branch January 8, 2025 23:34
@aricart aricart restored the fix-186 branch January 10, 2025 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent usage of delivered vs REdelivered wording.
3 participants