mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
add switchable 1 vs 2 thread testee server operation
This commit is contained in:
@@ -66,6 +66,13 @@ int main() {
|
||||
|
||||
// Start the ASIO io_service run loop
|
||||
testee_server.run();
|
||||
|
||||
/*websocketpp::lib::thread t1(&server::run, &testee_server);
|
||||
websocketpp::lib::thread t2(&server::run, &testee_server);
|
||||
|
||||
t1.join();
|
||||
t2.join();*/
|
||||
|
||||
} catch (const std::exception & e) {
|
||||
std::cout << "exception: " << e.what() << std::endl;
|
||||
} catch (websocketpp::lib::error_code e) {
|
||||
|
||||
Reference in New Issue
Block a user