mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-07-12 17:54:04 +00:00
increase http curl pool to 128
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ struct CurlDeleter {
|
||||
|
||||
static std::mutex gCurlPoolMutex;
|
||||
static std::map<CURL*, bool> gCurlPool; // false = free, true = in use
|
||||
constexpr size_t MAX_CURL_POOL_SIZE = 8;
|
||||
constexpr size_t MAX_CURL_POOL_SIZE = 128;
|
||||
|
||||
static CURL* AcquireCurl() {
|
||||
std::unique_lock Lock(gCurlPoolMutex);
|
||||
|
||||
Reference in New Issue
Block a user