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

    Function pendingDeclared

    • Which declared URLs are worth queueing right now.

      fresh says whether the fetch cache already holds a usable entry; those are skipped, so a warm round costs nothing and can run on every cron round.

      Parameters

      • declared: readonly DeclaredFetch[]
      • fresh: (url: string) => boolean
      • limit: number = 6

      Returns string[]