Browse Source

Lithum : bugfix (#5462)

* Lithum : bugfix

* Lithium: retrigger travis.
Matthieu Garrigues 5 years ago
parent
commit
8c26de481f
1 changed files with 1 additions and 2 deletions
  1. 1 2
      frameworks/C++/lithium/lithium.cc

+ 1 - 2
frameworks/C++/lithium/lithium.cc

@@ -52,11 +52,10 @@ float tune_n_sql_connections(int& nc_to_tune, std::string http_req, int port, in
     }
     }
   }
   }
   std::cout << "best: " << best_nconn << " (" << max_req_per_s << " req/s)."<< std::endl;
   std::cout << "best: " << best_nconn << " (" << max_req_per_s << " req/s)."<< std::endl;
-
+  nc_to_tune = best_nconn;
   return best_nconn;
   return best_nconn;
 }
 }
 
 
-
 int main(int argc, char* argv[]) {
 int main(int argc, char* argv[]) {
 
 
   if (argc != 3)
   if (argc != 3)