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

    Function resolveSettings

    • Reads the lever overrides from KV, keeping only the names on KV_OVERRIDABLE.

      Every value is coerced to a string, because that is what a vars binding delivers and what every reader already parses. A malformed document, an unknown key and a KV error all yield no overrides rather than throwing: this runs on the serving path.

      Parameters

      • Optionalkv: PlanKv | null
      • nowMs: number = ...

      Returns Promise<
          Partial<
              Record<
                  | "RENDER_BUDGET_MS"
                  | "FILL_BATCH_SIZE"
                  | "FILL_BATCH_WALL_MS"
                  | "HTTP_DRAIN_LIMIT"
                  | "MIRROR_LIMIT"
                  | "LAZY_FS_BUDGET_BYTES"
                  | "PREFILL"
                  | "GEN_BUCKET_MS",
                  string,
              >,
          >,
      >