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

    Function gcWatchdog

    • Trims watchdog to the configured row limit, oldest first.

      The pivot-then-delete shape is DblogHooks::cron()'s: counting the most recent N rows survives a sequence that does not start at 1 and rows deleted underneath it, which wid < max - limit does not. Under the limit it issues one statement and writes nothing.

      Parameters

      Returns Ledger