Page MenuHomePhabricator

D16423.id.diff
No OneTemporary

D16423.id.diff

diff --git a/src/infrastructure/daemon/workers/query/PhabricatorWorkerArchiveTaskQuery.php b/src/infrastructure/daemon/workers/query/PhabricatorWorkerArchiveTaskQuery.php
--- a/src/infrastructure/daemon/workers/query/PhabricatorWorkerArchiveTaskQuery.php
+++ b/src/infrastructure/daemon/workers/query/PhabricatorWorkerArchiveTaskQuery.php
@@ -104,6 +104,8 @@
if ($this->dateCreatedBefore) {
return qsprintf($conn_r, 'ORDER BY dateCreated DESC, id DESC');
+ } else if ($this->dateModifiedSince) {
+ return qsprintf($conn_r, 'ORDER BY dateModified DESC, id DESC');
} else {
return qsprintf($conn_r, 'ORDER BY id DESC');
}
diff --git a/src/infrastructure/daemon/workers/storage/PhabricatorWorkerArchiveTask.php b/src/infrastructure/daemon/workers/storage/PhabricatorWorkerArchiveTask.php
--- a/src/infrastructure/daemon/workers/storage/PhabricatorWorkerArchiveTask.php
+++ b/src/infrastructure/daemon/workers/storage/PhabricatorWorkerArchiveTask.php
@@ -31,6 +31,9 @@
'leaseOwner' => array(
'columns' => array('leaseOwner', 'priority', 'id'),
),
+ 'key_modified' => array(
+ 'columns' => array('dateModified'),
+ ),
) + $parent[self::CONFIG_KEY_SCHEMA];
return $config;

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 24, 7:33 PM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7483594
Default Alt Text
D16423.id.diff (1 KB)

Event Timeline