Skip to content

RTC: [Interface] Throttle updates after periods of inactivity #75829

@chriszarate

Description

@chriszarate

What problem does this address?

In Trac, @mindctrl notes:

It would be nice to include some throttling detection for when browsers lose focus and/or don't have typing/activity in some period of time. I left a couple clients open for ~7 hours for testing and this caused over 230k post meta writes.

What is your proposed solution?

Add inactivity detection based on the number of updates send by the current client and reduce the polling frequency accordingly. Some suggested parameters: No activity in the last 30 seconds, reduce polling to once every 5 seconds.

Metadata

Metadata

Assignees

Labels

[Feature] Real-time CollaborationPhase 3 of the Gutenberg roadmap around real-time collaboration[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions