Skip to content

Conversation

inian
Copy link
Member

@inian inian commented Aug 9, 2021

when client aborted a request to storage server, it kept the socket open for 300 seconds. S3 SDK couldn't open any more sockets after there were 50 open idle sockets (which is the default).

This PR reduces the socket idle timeout from 300 seconds to 3 seconds and explicitly shows the maxsockets parameter so that it can be finetuned later

fixes https://github.com/supabase/infrastructure/issues/1064

inian added 4 commits August 9, 2021 18:22
aborted connections had sockets open for 300 seconds which is way too long
fixes supabase/infrastructure#1064
default is 50 anyway but exposing in code so that we can fine tune later
@inian inian merged commit fd06acc into master Aug 10, 2021
@inian inian deleted the fix/499-errors branch August 10, 2021 03:19
@github-actions
Copy link

🎉 This PR is included in version 0.9.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants