From 08901c4dc3f5d054e8f409999921837a8ad0e124 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Fri, 10 Aug 2018 05:51:25 +0000 Subject: [PATCH] Removed useless buffer --- src/PSSparseServerTask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PSSparseServerTask.cpp b/src/PSSparseServerTask.cpp index 31f138a..e953015 100644 --- a/src/PSSparseServerTask.cpp +++ b/src/PSSparseServerTask.cpp @@ -565,7 +565,7 @@ void PSSparseServerTask::loop(int poll_id) { struct sockaddr_in cli_addr; socklen_t clilen = sizeof(cli_addr); - buffer.resize(10 * 1024 * 1024); // reserve 10MB upfront + //buffer.resize(10 * 1024 * 1024); // reserve 10MB upfront std::cout << "Starting loop for id: " << poll_id << std::endl; while (!kill_signal) {