saves progress

This commit is contained in:
Nathan Nichols
2021-06-14 15:30:11 -05:00
committed by CJ Cobb
parent fe25a9bc44
commit 70baddd030
5 changed files with 10 additions and 0 deletions

View File

@@ -69,6 +69,8 @@ public:
{
}
~WsSession() = default;
void
send(std::string&& msg)
{

View File

@@ -251,6 +251,8 @@ public:
, buffer_(std::move(b))
{}
~SslWsUpgrader() = default;
void
run()
{

View File

@@ -22,5 +22,7 @@ public:
virtual void
send(std::string&& msg) = 0;
virtual
~WsBase() {}
};
#endif // RIPPLE_REPORTING_WS_BASE_SESSION_H

View File

@@ -138,6 +138,8 @@ start(boost::asio::io_context& ioc, std::uint32_t numThreads)
v.reserve(numThreads - 1);
for (auto i = numThreads - 1; i > 0; --i)
v.emplace_back([&ioc] { ioc.run(); });
ioc.run();
}
int