Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace getMeetings call in health check with a isMeetingRunning call #5685

Merged
merged 2 commits into from
Jan 31, 2024

Conversation

Ithanil
Copy link
Contributor

@Ithanil Ithanil commented Jan 29, 2024

The current implementation of the "BBB" part in the health check conducts a getMeetings API call towards the connected BBB/SL, which especially in the case of a large Scalelite deployment is a pretty heavy API call.

This PR replaces the getMeetings call with a isMeetingRunning call for the (arbitrary) meeting ID 0, which is much lighter, and in the case of SL, can be answered by simple Redis query.

It still answers the questions: 1) Is API responding and 2) is the secret/checksum correct, so has the same value in terms of a health check.

… (for meetingID 0), to achieve the same check 'value' with a much lighter API call
Copy link

sonarcloud bot commented Jan 31, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@farhatahmad farhatahmad merged commit 5ac2561 into bigbluebutton:master Jan 31, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants