Bug #18191

notification should not keep initiating new pull requests when there is an active request

Added by Ohad Levy 5 months ago. Updated 4 months ago.

Status:Closed
Priority:Normal
Assigned To:Gail Steiger
Category:Notifications
Target version:Team Daniel - Iteration 9
Difficulty: Bugzilla link:
Found in release:nightly Pull request:https://github.com/theforeman/foreman/pull/4223
Story points-
Velocity based estimate-
Release1.15.0Release relationshipAuto

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

Related to Foreman - Feature #18010: UI Notifications front-end implementation Closed 01/10/2017

Associated revisions

Revision 8ed57bb6
Added by Gail Steiger 5 months ago

fixes #18191,#18192 - monitor notification request

prevent multiple requests, stop polling after error

History

#1 Updated by Ohad Levy 5 months ago

  • Related to Feature #18010: UI Notifications front-end implementation added

#2 Updated by The Foreman Bot 5 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4223 added

#3 Updated by Gail Steiger 5 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Daniel Lobato Garcia 4 months ago

  • Target version set to Team Daniel - Iteration 9

Also available in: Atom PDF