Commit 18bdbe1b authored by Nikolai Kosjar's avatar Nikolai Kosjar

Clang: Do not expire job requests with newer document revision

...than currently reflected in documents. Otherwise such requests expire

Needed for a follow-up change.

Change-Id: I456aea02a0fee9b9602a59a99943da13a01472d9
Reviewed-by: Marco Bubke's avatarMarco Bubke <>
parent bc221928
......@@ -124,7 +124,7 @@ bool JobQueue::isJobRequestExpired(const JobRequest &jobRequest) const
if (expirationReasons.testFlag(JobRequest::DocumentRevisionChanged)) {
if (document.documentRevision() != jobRequest.documentRevision) {
if (document.documentRevision() > jobRequest.documentRevision) {
qCDebug(jobsLog) << "Removing due to changed document revision:" << jobRequest;
return true;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment