删除由status=4 改为in_used=0
This commit is contained in:
parent
7d55b1f2e5
commit
09a5dff82f
@ -163,7 +163,7 @@ def send_cache_data():
|
|||||||
ad
|
ad
|
||||||
where
|
where
|
||||||
'{now}'> end_time
|
'{now}'> end_time
|
||||||
or status in (3,4) """
|
or status in (3,4) or in_used=0 """
|
||||||
remove_data = mydb.query(expire_sql)
|
remove_data = mydb.query(expire_sql)
|
||||||
if remove_data:
|
if remove_data:
|
||||||
for line in remove_data:
|
for line in remove_data:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user