SQLAlchemy driver does not clean up expired messages
Bug #1331228 reported by
Kurt Griffiths
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
Fix Released
|
Low
|
peng fei wang |
Bug Description
The code for this needs to go into MessageControll
Changed in marconi: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in zaqar: | |
status: | Fix Committed → Fix Released |
Changed in zaqar: | |
milestone: | juno-3 → 2014.2 |
no longer affects: | zaqar/juno |
To post a comment you must log in.
I saw that code was already there but commented
# cleanup all expired messages in this queue
#self. driver. run('''
# delete from Messages
# where ttl <= julianday() * 86400.0 - created
# and qid = ?''', qid)
is that Ok?