diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-01-23 16:52:39 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-01-23 16:52:39 +0100 |
commit | 9e18e6490de98c01ca46a0a2ed03bd1ee20fc5b1 (patch) | |
tree | e3c38390651f217d92fa47fa84e68df1b4647e58 /common/synchronizer.cpp | |
parent | 3356db6f1fe75f39a5f6038e94e5af4b5e99f138 (diff) | |
download | sink-9e18e6490de98c01ca46a0a2ed03bd1ee20fc5b1.tar.gz sink-9e18e6490de98c01ca46a0a2ed03bd1ee20fc5b1.zip |
Readable uuid
Diffstat (limited to 'common/synchronizer.cpp')
-rw-r--r-- | common/synchronizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/synchronizer.cpp b/common/synchronizer.cpp index 3cd0cb6..e19140c 100644 --- a/common/synchronizer.cpp +++ b/common/synchronizer.cpp | |||
@@ -295,9 +295,9 @@ KAsync::Job<void> Synchronizer::processRequest(const SyncRequest &request) | |||
295 | modifiedRequest.options = SyncRequest::NoOptions; | 295 | modifiedRequest.options = SyncRequest::NoOptions; |
296 | //Normally we won't have a requestId here | 296 | //Normally we won't have a requestId here |
297 | if (modifiedRequest.requestId.isEmpty()) { | 297 | if (modifiedRequest.requestId.isEmpty()) { |
298 | modifiedRequest.requestId = QUuid::createUuid().toRfc4122(); | 298 | modifiedRequest.requestId = QUuid::createUuid().toByteArray(); |
299 | } | 299 | } |
300 | SinkWarningCtx(mLogCtx) << "Enquing flush request " << modifiedRequest.requestId; | 300 | SinkTraceCtx(mLogCtx) << "Enqueuing flush request " << modifiedRequest.requestId; |
301 | 301 | ||
302 | //The sync request will be executed once the flush has completed | 302 | //The sync request will be executed once the flush has completed |
303 | mPendingSyncRequests.insert(modifiedRequest.requestId, modifiedRequest); | 303 | mPendingSyncRequests.insert(modifiedRequest.requestId, modifiedRequest); |