Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

RTC: [Transport] Clean up old sync messages on stale sessions #75311

Description

@maxschmeling

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.

Activity

  1. pkevan commented on Feb 10, 2026

    @pkevan
    Contributor

    If the lock is missing or its timestamp is older than the expiration period, the _crdt_document meta is deleted.

    I wonder if this should check post_modified too?

  2. added a commit that references this issue on Feb 12, 2026
    126aecd
  3. 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
  4. added theissue type on Feb 12, 2026
  5. 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
  6. maxschmeling commented on Mar 10, 2026

    @maxschmeling
    ContributorAuthor

    The work being done in core to convert to table based storage will likely make this issue redundant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions