You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RTC: [Transport] Clean up old sync messages on stale sessions #75311
Implementation Plan: Cron-based cleanup of stale RTC post meta
Introduce a cron task or other mechanism to clean up sync messages left behind by the real-time collaboration default provider, which are stored in post meta against a special post type.
Approach
A daily WP-Cron event (wp_sync_cleanup) queries for sync updates older than n days.
Each sync update value is an associative array envelope with a timestamp property.
If the sync update older than the expiration period, the post meta is deleted.
The expiration defaults to 7 days and is configurable via the wp_sync_cleanup_expiration filter.
changed the title [-]Real-time collaboration: Clean up old sync messages on stale sessions[/-][+][Transport] Clean up old sync messages on stale sessions[/+]on Feb 12, 2026
changed the title [-][Transport] Clean up old sync messages on stale sessions[/-][+]RTC: [Transport] Clean up old sync messages on stale sessions[/+]on Feb 12, 2026
Activity
pkevan commentedon Feb 10, 2026
I wonder if this should check
post_modifiedtoo?Add cron event for cleaning up stale RTC CRDT document metadata
[-]Real-time collaboration: Clean up old sync messages on stale sessions[/-][+][Transport] Clean up old sync messages on stale sessions[/+][-][Transport] Clean up old sync messages on stale sessions[/-][+]RTC: [Transport] Clean up old sync messages on stale sessions[/+]maxschmeling commentedon Mar 10, 2026
The work being done in core to convert to table based storage will likely make this issue redundant.