Lwelling has uploaded a new change for review.
https://gerrit.wikimedia.org/r/54655
Change subject: Use consistent timestamps in JobQueueDB to cut risk of timezone
confusion
......................................................................
Use consistent timestamps in JobQueueDB to cut risk of timezone confusion
Change-Id: Ic486b585d579ea259b8e2c3f16820164702721fd
---
M includes/job/JobQueueDB.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/55/54655/1
diff --git a/includes/job/JobQueueDB.php b/includes/job/JobQueueDB.php
index a7a459f..d6ba4b6 100644
--- a/includes/job/JobQueueDB.php
+++ b/includes/job/JobQueueDB.php
@@ -412,7 +412,7 @@
public function recycleAndDeleteStaleJobs() {
global $wgMemc;
- $now = time();
+ $now = wfTimestampNow();
list( $dbw, $scope ) = $this->getMasterDB();
$count = 0; // affected rows
--
To view, visit https://gerrit.wikimedia.org/r/54655
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic486b585d579ea259b8e2c3f16820164702721fd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Lwelling <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits