Skip to content

Commit

Permalink
Removed useless buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Aug 10, 2018
1 parent 2e522da commit 08901c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PSSparseServerTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 08901c4

Please sign in to comment.