Skip to content
This repository has been archived by the owner on May 13, 2023. It is now read-only.

feat: adds storage retry option #163

Merged
merged 2 commits into from
Nov 18, 2022
Merged

feat: adds storage retry option #163

merged 2 commits into from
Nov 18, 2022

Conversation

dshukertjr
Copy link
Member

What kind of change does this PR introduce?

Adds retry option to Supabase client so that it can be passed onto storage client.

Related supabase/storage-dart#44

SupabaseClient(
this.supabaseUrl,
this.supabaseKey, {
String? schema,
bool autoRefreshToken = true,
Map<String, String> headers = Constants.defaultHeaders,
Client? httpClient,
int storageRetryAttempts = 0,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this is the best name for it. Other ideas that come to my mind:

  • retryAttempts
  • uploadRetryAttempts

@dshukertjr dshukertjr marked this pull request as draft November 18, 2022 05:09
@dshukertjr dshukertjr marked this pull request as ready for review November 18, 2022 08:05
Copy link
Contributor

@Vinzent03 Vinzent03 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with the name.

@dshukertjr dshukertjr merged commit 7710600 into main Nov 18, 2022
@dshukertjr dshukertjr deleted the feat/storage-retry branch November 18, 2022 08:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants