[fix] Cache duration

This commit is contained in:
ljf 2020-04-19 02:32:15 +02:00
parent 4686673bb5
commit ed75108142

View file

@ -20,7 +20,7 @@ DEFAULT_DNS_BLACKLIST = "/usr/share/yunohost/other/dnsbl_list.yml"
class MailDiagnoser(Diagnoser):
id_ = os.path.splitext(os.path.basename(__file__))[0].split("-")[1]
cache_duration = 0
cache_duration = 12 * 3600
dependencies = ["ip"]
def run(self):