Closed SquidXTV closed 4 months ago
The DiscordRequestDispatcher#sendRequest currently creates a new HttpClient instance for each request instead of reusing one instance.
DiscordRequestDispatcher#sendRequest
HttpClient
Create a HttpClient instance on DiscordRequestDispatcher creation.
DiscordRequestDispatcher
Description of the Issue
The
DiscordRequestDispatcher#sendRequest
currently creates a newHttpClient
instance for each request instead of reusing one instance.Expected behavior
Create a
HttpClient
instance onDiscordRequestDispatcher
creation.