Pārlūkot izejas kodu

Retain results for three days instead of one.

tags/v0.1^2
Ben Kurtovic pirms 12 gadiem
vecāks
revīzija
6a09f31d75
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      earwigbot/tasks/afc_copyvios.py

+ 2
- 2
earwigbot/tasks/afc_copyvios.py Parādīt failu

@@ -145,8 +145,8 @@ class AFCCopyvios(Task):
The cache saves time and money by saving the result of the web search
but neither the result of the comparison nor any actual text (which
could violate data retention policy). Cache entries are (intended to
be) retained for one day; this task does not remove old entries (that
is handled by the Toolserver component).
be) retained for three days; this task does not remove old entries
(that is handled by the Toolserver component).

This will only be called if ``cache_results == True`` in the task's
config, which is ``False`` by default.


Notiek ielāde…
Atcelt
Saglabāt