mirror of
https://github.com/XRPLF/clio.git
synced 2026-04-29 15:37:53 +00:00
@@ -19,6 +19,8 @@
|
||||
|
||||
#include <rpc/WorkQueue.h>
|
||||
|
||||
namespace rpc {
|
||||
|
||||
WorkQueue::WorkQueue(std::uint32_t numWorkers, uint32_t maxSize) : ioc_{numWorkers}
|
||||
{
|
||||
if (maxSize != 0)
|
||||
@@ -29,3 +31,5 @@ WorkQueue::~WorkQueue()
|
||||
{
|
||||
ioc_.join();
|
||||
}
|
||||
|
||||
} // namespace rpc
|
||||
|
||||
Reference in New Issue
Block a user