Skip to content

docs: clarify if client supports retry #985

Open
@MentalGear

Description

@MentalGear

Improve documentation

Does the client auto retry if a call fails?
Use case: Insert record into files table after a storage operation. If the insert record fails, the file is 'lost' in the storage.

The docs give no indication, but Supabase AI mentions wrongly:

const supabase = createClient(supabaseUrl, supabaseKey, {

retry: {

// Number of times to retry a failed request

// Default: 0

retries: 3,


// Number of milliseconds to wait before retrying a failed request

// Default: 1000

delay: 500,

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions