Bugfix: Do not claim expired messages in SQlite.
Change-Id: I346e79cf7269fb2452a0bec22a61ad7fd2e9935b
This commit is contained in:
parent
0f612c1188
commit
84b1f4bee2
@ -314,6 +314,7 @@ class Claim(base.ClaimBase):
|
||||
from Messages left join Locked
|
||||
on id = msgid
|
||||
where msgid is null
|
||||
and ttl > julianday() * 86400.0 - created
|
||||
and qid = ?
|
||||
limit ?''', qid, limit)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user