drupflare/worker - v1.0.0
    Preparing search index...

    Function gcHeapSnapshots

    • Keeps the newest keep snapshots and deletes the rest.

      An unbounded snapshot table is the watchdog lesson repeated at 40 MB a row: the health ledger grew to 46% of the database before it was capped. Chunks go first so a crash between the two deletes leaves orphaned metadata rather than orphaned megabytes.

      Parameters

      Returns number