catalyst / moodle-auth_outage

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

Slow down warning bar checkfinished calls #280

Closed golenkovm closed 2 years ago

golenkovm commented 2 years ago

This is a fix for issue 279.

4 * 60 + Math.random() * 120 gives random duration between 4 and 6 mins. This is to make sure that user browsers won't send their AJAX requests at the same time.

golenkovm commented 2 years ago

Linking to the issue #279

golenkovm commented 2 years ago

3 calls for 10-min outage:

image