Skip to content

Fix to handle concurrent requests correctly - #34

Open
lologarithm wants to merge 1 commit into
supabase-community:devfrom
lologarithm:fix_threadsafe_upload
Open

Fix to handle concurrent requests correctly#34
lologarithm wants to merge 1 commit into
supabase-community:devfrom
lologarithm:fix_threadsafe_upload

Conversation

@lologarithm

Copy link
Copy Markdown

What kind of change does this PR introduce?

Copies headers from the transport instead of using them directly. This still probably isn't the "best" solution (we don't need a custom transport for this) but at least its threadsafe now.

What is the current behavior?

I was hitting this issue in my own code when trying to upload multiple files concurrently.

Someone reported it here:
#27

What is the new behavior?

It no longer crashes.

Additional context

N/A

@lologarithm

Copy link
Copy Markdown
Author

Are there any maintainers active?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant