Skip to content

feat: Only send slides notifications near session time#7170

Merged
jennifer-richards merged 2 commits intoietf-tools:feat/sess-apisfrom
jennifer-richards:me-api-tweaks
Mar 12, 2024
Merged

feat: Only send slides notifications near session time#7170
jennifer-richards merged 2 commits intoietf-tools:feat/sess-apisfrom
jennifer-richards:me-api-tweaks

Conversation

@jennifer-richards
Copy link
Copy Markdown
Member

The main change here is to limit the sessions for which slides updates result in calls to the MeetEcho API. This adds a slides_notify_time option to the MEETECHO_API_CONFIG dict to control the window around the session during which notifications will be sent. This is a number of minutes (defaults to 15) before / after the session where changes will be pushed to MeetEcho. If it is set to None, then updates are disabled entirely, and if it is < 0 then the window is infinite (for debugging). Regardless, the API will be called only for scheduled sessions.

As a general improvement, also catches exceptions from the slide update calls - this will prevent errors in the MeetEcho update from breaking slide updates entirely.

Don't let errors in the MeetEcho slides API interfere with
the ability to modify slides for a session.
@jennifer-richards jennifer-richards merged commit b77e511 into ietf-tools:feat/sess-apis Mar 12, 2024
@jennifer-richards jennifer-richards deleted the me-api-tweaks branch March 12, 2024 01:46
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant