dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "rdbms: make LBFactory close/rollback dangling handles like LoadBalancer"
[lhc/web/wiklou.git]
/
includes
/
jobqueue
/
JobQueueDB.php
diff --git
a/includes/jobqueue/JobQueueDB.php
b/includes/jobqueue/JobQueueDB.php
index
f7b8ed2
..
d449e8a
100644
(file)
--- a/
includes/jobqueue/JobQueueDB.php
+++ b/
includes/jobqueue/JobQueueDB.php
@@
-690,9
+690,9
@@
class JobQueueDB extends JobQueue {
$dbw->update( 'job',
[
'job_token' => '',
$dbw->update( 'job',
[
'job_token' => '',
- 'job_token_timestamp' => $dbw->timestamp( $now )
],
// time of release
- [
-
'job_id' => $ids
],
+ 'job_token_timestamp' => $dbw->timestamp( $now ) // time of release
+ ],
+
[ 'job_id' => $ids, "job_token != ''"
],
__METHOD__
);
$affected = $dbw->affectedRows();
__METHOD__
);
$affected = $dbw->affectedRows();