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

    Function attemptBudget

    • How many times a queued request may be attempted: 3 for idempotent methods, 1 for a POST.

      A retried POST can be rejected as already redeemed (a reCAPTCHA token is single-use) after the first attempt succeeded at the far end and only failed to return.

      Parameters

      • method: string

      Returns number