dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6529420
)
Use ksort() in getDeduplicationInfo for sanity
author
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 19 Mar 2015 17:45:39 +0000
(10:45 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 19 Mar 2015 17:45:39 +0000
(10:45 -0700)
Change-Id: Id23cc987b3f1e23b35b0eedbfc5c9978774a0ebd
includes/jobqueue/Job.php
patch
|
blob
|
history
diff --git
a/includes/jobqueue/Job.php
b/includes/jobqueue/Job.php
index
334d374
..
f8de0b5
100644
(file)
--- a/
includes/jobqueue/Job.php
+++ b/
includes/jobqueue/Job.php
@@
-188,6
+188,8
@@
abstract class Job implements IJobSpecification {
unset( $info['params']['rootJobTimestamp'] );
// Likewise for jobs with different delay times
unset( $info['params']['jobReleaseTimestamp'] );
+ // Queues pack and hash this array, so normalize the order
+ ksort( $info['params'] );
}
return $info;