Bug #18438

Allow adjusting notification checking period

Added by Thomas McKay about 1 year ago. Updated 11 months ago.

Status:Closed
Priority:Normal
Assigned To:matan werbner
Category:Notifications
Target version:-
Difficulty: Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/foreman/pull/4520
Story points-
Velocity based estimate-
Release1.16.0Release relationshipAuto

Description

Checking for notifications every 10 seconds seems excessive.

At a minimum I'd like a way to increase that period on a per-organization basis.

Another idea would be to have the time between checks increase with idle activity. Start at 10 seconds but if no user interaction with UI, begin to bump up the interval to some max (perhaps every one minute?). This should be configurable as well.


Related issues

Related to Foreman - Feature #19535: Silence notification Rails logs New 05/15/2017
Duplicated by Foreman - Refactor #18961: Reduce frequency of notification polling Duplicate 03/20/2017

Associated revisions

Revision b8c9069d
Added by matan werbner 12 months ago

Fixes #18438 - control notifications polling

History

#1 Updated by Gail Steiger about 1 year ago

I think it would be more worthwhile to implement websockets sooner rather than setting up an interim configuration mechanism.

#2 Updated by Ohad Levy about 1 year ago

Gail, websockets is probably not feasible in the near/immediate future

#3 Updated by Ohad Levy about 1 year ago

  • Duplicated by Refactor #18961: Reduce frequency of notification polling added

#4 Updated by The Foreman Bot 12 months ago

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

#5 Updated by matan werbner 12 months ago

  • Status changed from Ready For Testing to New
  • Assigned To set to matan werbner
  • Pull request deleted (https://github.com/theforeman/foreman/pull/4520)

#6 Updated by Dominic Cleal 12 months ago

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

#7 Updated by Lukas Zapletal 12 months ago

#8 Updated by matan werbner 12 months ago

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

#9 Updated by Marek Hulán 11 months ago

  • Release set to 1.16.0

Also available in: Atom PDF