mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-01 17:15:52 +00:00
Subscribe/Unsubscribe RPC handlers (#2)
Subscribe to ledgers, transactions and accounts
This commit is contained in:
@@ -329,6 +329,7 @@ ReportingETL::runETLPipeline(uint32_t startSequence, int numExtractors)
|
||||
{
|
||||
if (finishSequence_ && startSequence > *finishSequence_)
|
||||
return {};
|
||||
|
||||
/*
|
||||
* Behold, mortals! This function spawns three separate threads, which talk
|
||||
* to each other via 2 different thread safe queues and 1 atomic variable.
|
||||
@@ -386,7 +387,6 @@ ReportingETL::runETLPipeline(uint32_t startSequence, int numExtractors)
|
||||
{
|
||||
auto transformQueue = std::make_shared<QueueType>(maxQueueSize);
|
||||
queues.push_back(transformQueue);
|
||||
std::cout << "added to queues";
|
||||
|
||||
extractors.emplace_back([this,
|
||||
&startSequence,
|
||||
|
||||
Reference in New Issue
Block a user