-
Notifications
You must be signed in to change notification settings - Fork 401
Retry policy now applies to all requests and subscription change status emitted #451
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
Conversation
The configured retry policy will be used for any failed request. feat(retry-policy): exponential retry policy used by default for subscribe By default, the SDK is configured to use an exponential retry policy for failed subscribe requests. fix(subscribe): add missing `subscription change` status `PNSubscriptionChangedCategory` will be emitted each time the list of channels and groups is changing. refactor(network): request retries moved to the network Automated request retry has been moved into the network layer to handle all requests (not only subscribed). test(cleanup): make proper clean up after each test case Properly destroy `PubNub` instance after each test case to make sure that all connections closed and prevent tests from hanging.
mohitpubnub
left a comment
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!
some queries!
|
@parfeon also, with retry - Is event-engine contract feature tests are also good with same old step definitions here ? locally this command should execute tests as per updated contract tests (reconnecting removed version of tests) |
… emitted Add test which tests whether `subscription change` is emitted when subscribing to the new channels.
|
@pubnub-release-bot release |
Add type, which should be used to completely disable retries. refactor(retry-policy): add information about which APIs belong to endpoint Add more information about which APIs are related to the endpoints, which can be excluded.
|
🚀 Release successfully completed 🚀 |
feat(retry-policy): retry policy now applies to all requests
The configured retry policy will be used for any failed request.
feat(retry-policy): exponential retry policy used by default for subscribe
By default, the SDK is configured to use an exponential retry policy for failed subscribe requests.
fix(subscribe): add missing
subscription changestatusPNSubscriptionChangedCategorywill be emitted each time the list of channels and groups is changing.refactor(network): request retries moved to the network
Automated request retry has been moved into the network layer to handle all requests (not only subscribed).
test(cleanup): make proper clean up after each test case
Properly destroy
PubNubinstance after each test case to make sure that all connections closed and prevent tests from hanging.