[DB] Use a single shared pool of connections to the database
This commit is contained in:
@@ -50,7 +50,7 @@ class Connection : public std::enable_shared_from_this<Connection>
|
||||
/// Construct a connection with the given io_service.
|
||||
explicit Connection(boost::asio::io_service& ioService, boost::asio::ssl::context& context,
|
||||
ConnectionManager& manager,
|
||||
const boost::filesystem::path& dbPath);
|
||||
Wt::Dbo::SqlConnectionPool& connectionPool);
|
||||
|
||||
ssl_socket::lowest_layer_type& getSocket() {return _socket.lowest_layer();}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user