mirror of
https://github.com/danog/dns.git
synced 2024-11-26 20:14:51 +01:00
Cache DNS records for a maximum of one day
This commit is contained in:
parent
4ef49e8544
commit
35278b07a2
@ -673,7 +673,7 @@ REGEX;
|
||||
$minttl = $ttl;
|
||||
}
|
||||
}
|
||||
$this->arrayCache->set("$name#$type", $records, $minttl);
|
||||
$this->arrayCache->set("$name#$type", $records, \min($minttl, 86400));
|
||||
}
|
||||
$promisor->succeed($result);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user