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

    Function recordMirror

    • Records a mirror outcome.

      A failure that has struck out DROPS the queue row instead of holding it: the file is already durable in the Durable Object and serves from there, so an unmirrored file is a lost optimisation rather than a lost file. Retrying forever would spend the rows-written meter -- the one that binds regeneration -- on a bucket that is not coming back.

      Parameters

      • sql: FileSql
      • uri: string
      • outcome: { error?: string; ok: boolean }

      Returns { attempts: number; dropped: boolean }