You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using the Dropbox client in high traffic multithreaded environment, it's possible to easily exhaust all connections
To Reproduce
In a loop, keep creating Dropbox Clients and performing a request. In the options object, pass in a HTTPClient.
Expected Behavior
HttpClient is used for all requests
Actual Behavior
Authentication code makes a new HttpClient each time
Versions
SDK latest, 6.31.0
Dotnet 6
Linux kubernetes
Additional context
It's also difficult to see what the recommended way is to reuse Dropbox clients - ie it's not very threadsafe but it's also bad to keep creating new Dropbox Clients
The text was updated successfully, but these errors were encountered:
Describe the bug
When using the Dropbox client in high traffic multithreaded environment, it's possible to easily exhaust all connections
To Reproduce
In a loop, keep creating Dropbox Clients and performing a request. In the options object, pass in a HTTPClient.
Expected Behavior
HttpClient is used for all requests
Actual Behavior
Authentication code makes a new HttpClient each time
Versions
Additional context
It's also difficult to see what the recommended way is to reuse Dropbox clients - ie it's not very threadsafe but it's also bad to keep creating new Dropbox Clients
The text was updated successfully, but these errors were encountered: