q6 commited on
Commit
dd97c63
·
1 Parent(s): ca3f25b

Recheck cached posts during deep scans

Browse files
Files changed (1) hide show
  1. backend/app.py +0 -1
backend/app.py CHANGED
@@ -704,7 +704,6 @@ async def get_deep_scan_targets(search_id):
704
  "FROM pi_searches p, json_each(p.post_ids) j WHERE p.id = ?"
705
  ") SELECT ids.post_id FROM ids "
706
  "JOIN pi_scans s ON s.post_id = ids.post_id "
707
- "WHERE COALESCE(s.deep_scanned, 0) = 0 "
708
  "ORDER BY ids.pos",
709
  "args": [{"type": "text", "value": search_id}],
710
  }
 
704
  "FROM pi_searches p, json_each(p.post_ids) j WHERE p.id = ?"
705
  ") SELECT ids.post_id FROM ids "
706
  "JOIN pi_scans s ON s.post_id = ids.post_id "
 
707
  "ORDER BY ids.pos",
708
  "args": [{"type": "text", "value": search_id}],
709
  }