Przeglądaj źródła

Auto-bypass cache when cache_possible_miss is True.

pull/24/head
Ben Kurtovic 9 lat temu
rodzic
commit
0f4ecfe80a
1 zmienionych plików z 2 dodań i 0 usunięć
  1. +2
    -0
      copyvios/checker.py

+ 2
- 0
copyvios/checker.py Wyświetl plik

@@ -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()



Ładowanie…
Anuluj
Zapisz