Differential D10593 Diff 25468 src/infrastructure/daemon/workers/storage/PhabricatorWorkerActiveTask.php
Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/daemon/workers/storage/PhabricatorWorkerActiveTask.php
Show All 30 Lines | $config = array( | ||||
'columns' => array('failureTime'), | 'columns' => array('failureTime'), | ||||
), | ), | ||||
'leaseOwner_2' => array( | 'leaseOwner_2' => array( | ||||
'columns' => array('leaseOwner', 'priority', 'id'), | 'columns' => array('leaseOwner', 'priority', 'id'), | ||||
), | ), | ||||
), | ), | ||||
); | ); | ||||
$config[self::CONFIG_COLUMN_SCHEMA] = array( | |||||
// T6203/NULLABILITY | |||||
// This isn't nullable in the archive table, so at a minimum these | |||||
// should be the same. | |||||
'dataID' => 'uint32?', | |||||
) + $parent[self::CONFIG_COLUMN_SCHEMA]; | |||||
return $config + $parent; | return $config + $parent; | ||||
} | } | ||||
public function setServerTime($server_time) { | public function setServerTime($server_time) { | ||||
$this->serverTime = $server_time; | $this->serverTime = $server_time; | ||||
$this->localTime = time(); | $this->localTime = time(); | ||||
return $this; | return $this; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 154 Lines • Show Last 20 Lines |