mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-07 02:36:43 +00:00
postgres fixes
This commit is contained in:
@@ -731,14 +731,14 @@ CassandraBackend::open()
|
||||
setupPreparedStatements = true;
|
||||
}
|
||||
|
||||
work_.emplace(ioContext_);
|
||||
ioThread_ = std::thread{[this]() { ioContext_.run(); }};
|
||||
open_ = true;
|
||||
|
||||
if (config_.contains("max_requests_outstanding"))
|
||||
{
|
||||
maxRequestsOutstanding = config_["max_requests_outstanding"].as_int64();
|
||||
}
|
||||
work_.emplace(ioContext_);
|
||||
ioThread_ = std::thread{[this]() { ioContext_.run(); }};
|
||||
open_ = true;
|
||||
|
||||
BOOST_LOG_TRIVIAL(info) << "Opened database successfully";
|
||||
}
|
||||
} // namespace Backend
|
||||
|
||||
Reference in New Issue
Block a user