diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-20 01:24:17 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-20 01:24:17 +0200 |
commit | 703b72511488068bdbc5e81172e674d0f07349ed (patch) | |
tree | 8fad8483c02bce7210401dd128cd1473c530d8d0 /common/synchronizer.h | |
parent | b10ca588b7a8a5e3bec22b9e683b4a4dbd5bc889 (diff) | |
download | sink-703b72511488068bdbc5e81172e674d0f07349ed.tar.gz sink-703b72511488068bdbc5e81172e674d0f07349ed.zip |
Commit all databases in the same interval
Diffstat (limited to 'common/synchronizer.h')
-rw-r--r-- | common/synchronizer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/synchronizer.h b/common/synchronizer.h index 9c0e2e2..81d4f27 100644 --- a/common/synchronizer.h +++ b/common/synchronizer.h | |||
@@ -50,7 +50,6 @@ public: | |||
50 | RemoteIdMap &syncStore(); | 50 | RemoteIdMap &syncStore(); |
51 | 51 | ||
52 | void commit(); | 52 | void commit(); |
53 | void commitSync(); | ||
54 | Sink::Storage::Transaction &transaction(); | 53 | Sink::Storage::Transaction &transaction(); |
55 | Sink::Storage::Transaction &syncTransaction(); | 54 | Sink::Storage::Transaction &syncTransaction(); |
56 | 55 | ||
@@ -106,6 +105,7 @@ private: | |||
106 | Sink::Storage::Transaction mSyncTransaction; | 105 | Sink::Storage::Transaction mSyncTransaction; |
107 | std::function<void(int commandId, const QByteArray &data)> mEnqueue; | 106 | std::function<void(int commandId, const QByteArray &data)> mEnqueue; |
108 | MessageQueue *mMessageQueue; | 107 | MessageQueue *mMessageQueue; |
108 | bool mSyncInProgress; | ||
109 | }; | 109 | }; |
110 | 110 | ||
111 | } | 111 | } |