mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Dispatch write ahead logging through our job queue. SQL logging improvements.
This commit is contained in:
@@ -16,6 +16,7 @@ class SqliteDatabase : public Database
|
||||
bool mMoreRows;
|
||||
|
||||
boost::mutex walMutex;
|
||||
JobQueue* mWalQ;
|
||||
std::set<std::string> walDBs;
|
||||
bool walRunning;
|
||||
|
||||
@@ -51,7 +52,7 @@ public:
|
||||
uint64 getBigInt(int colIndex);
|
||||
|
||||
sqlite3* peekConnection() { return mConnection; }
|
||||
virtual bool setupCheckpointing();
|
||||
virtual bool setupCheckpointing(JobQueue*);
|
||||
virtual SqliteDatabase* getSqliteDB() { return this; }
|
||||
|
||||
void runWal();
|
||||
|
||||
Reference in New Issue
Block a user