Browse Source

Auto-bypass cache when cache_possible_miss is True.

pull/24/head
Ben Kurtovic 10 years ago
parent
commit
0f4ecfe80a
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      copyvios/checker.py

+ 2
- 0
copyvios/checker.py View File

@@ -139,6 +139,8 @@ def _get_cached_results(page, conn, mode, noskip):
if not results:
return None
cache_time, queries, check_time, possible_miss = results[0]
if possible_miss and noskip:
return None
cursor.execute(query3, (cache_id,))
data = cursor.fetchall()



Loading…
Cancel
Save