diff --git a/ad_tasks.py b/ad_tasks.py index 2d1918d..b9dec15 100644 --- a/ad_tasks.py +++ b/ad_tasks.py @@ -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: