删除由status=4 改为in_used=0

This commit is contained in:
pengtao 2019-09-20 12:47:37 +08:00
parent 7d55b1f2e5
commit 09a5dff82f

View File

@ -163,7 +163,7 @@ def send_cache_data():
ad
where
'{now}'> end_time
or status in (3,4) """
or status in (3,4) or in_used=0 """
remove_data = mydb.query(expire_sql)
if remove_data:
for line in remove_data: