Bug #18191
notification should not keep initiating new pull requests when there is an active request
Pull request:
Fixed in Releases:
Found in Releases:
Description
In a case where the service is slow to response, or that is down, the notification code keeps creating new ajax requests for getting the current notification state.
I would expect that as long as there is an ongoing pending connection, new ones will not be initiated.
Related issues
Associated revisions
History
#1
Updated by Ohad Levy over 5 years ago
- Related to Feature #18010: UI Notifications front-end implementation added
#2
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4223 added
#3
Updated by Gail Steiger over 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 8ed57bb66614e802b8c16e12a78308f27af2aa92.
#4
Updated by Daniel Lobato Garcia over 5 years ago
- Target version set to 1.11.0
fixes #18191,#18192 - monitor notification request
prevent multiple requests, stop polling after error