mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use the job queue rather than an ephemeral thread for validation writeouts.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "types.h"
|
||||
#include "SerializedValidation.h"
|
||||
#include "TaggedCache.h"
|
||||
#include "JobQueue.h"
|
||||
|
||||
typedef boost::unordered_map<uint160, SerializedValidation::pointer> ValidationSet;
|
||||
|
||||
@@ -26,7 +27,7 @@ protected:
|
||||
|
||||
bool mWriting;
|
||||
|
||||
void doWrite();
|
||||
void doWrite(Job&);
|
||||
void condWrite();
|
||||
|
||||
boost::shared_ptr<ValidationSet> findCreateSet(const uint256& ledgerHash);
|
||||
|
||||
Reference in New Issue
Block a user