catalyst / moodle-auth_outage

Planned, graduated user and admin friendly moodle outages
https://moodle.org/plugins/auth_outage
17 stars 32 forks source link

Number of requests spikes when outage is commenced #279

Closed golenkovm closed 2 years ago

golenkovm commented 2 years ago

It's been noted that the number of requests increases when an outage starts (4 am on the screenshot).

image

It seems like this is because of warning bar that checks if an outage finished https://github.com/catalyst/moodle-auth_outage/blob/MOODLE_39_STABLE/views/warningbar/warningbar.js#L58-L92

golenkovm commented 2 years ago

Many users leave their tabs open even when not working with Moodle. When an outage commences, banner starts pinging backend every 5 seconds:

image

golenkovm commented 2 years ago

The issue is fixed in MOODLE_39_STABLE. Closing as finished.