Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

enhanced retry mechanism #30

Merged
merged 4 commits into from
Jul 4, 2016
Merged

enhanced retry mechanism #30

merged 4 commits into from
Jul 4, 2016

Conversation

cubicdaiya
Copy link
Contributor

@cubicdaiya cubicdaiya commented Jul 2, 2016

Gaurun doesn't retry to push except when server side error is the cause. The result is always same.

Gaurun accepts multiple push requests with the two methods below.

1. multiple notifications
2. multiple tokens in single notification

When the method of 2 is used and invalid token is included in requested tokens and retry is enabled,
there is the potential to push notifications redundantly.
@cubicdaiya cubicdaiya changed the title WIP: enhanced retry mechanism enhanced retry mechanism Jul 4, 2016
Because Enqueueing to channel is possible to be blocked when channel is full.
@kazegusuri kazegusuri added the LGTM label Jul 4, 2016
@kazegusuri
Copy link
Contributor

LGTM. But there is an impact to users who use 2. multiple tokens in single notification. Better to note it on the next release.

@cubicdaiya
Copy link
Contributor Author

@kazegusuri I see. I'll note that in the next release.

@cubicdaiya cubicdaiya merged commit e6ea430 into master Jul 4, 2016
@cubicdaiya cubicdaiya deleted the retry-enhance branch July 19, 2016 09:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants