Skip to content

Commit 552d2fc

Browse files
matsduftgreenx
andauthored
Apply suggestions from code review
Co-authored-by: tgreenx <[email protected]>
1 parent a5d0ce2 commit 552d2fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Zonemaster/Engine/Nameserver/Cache/RedisCache.pm

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ sub set_key {
6969
# Never cache with answer, NXDOMAIN or NODATA longer than this.
7070
my $redis_expire = $self->{config}->{expire};
7171

72-
# If no response or response without answer or SOA in authority
72+
# If no response or response without answer or SOA in authority,
7373
# cache this many seconds (e.g. SERVFAIL or REFUSED).
7474
my $ttl_no_response = 1200;
7575

@@ -175,8 +175,8 @@ Cache time is the shortest time of TTL in the DNS packet
175175
and cache.redis.expire in the profile. Default value of
176176
cache.redis.expire is 300 seconds.
177177
178-
If the there is no TTL value to be used in the DNS packet
178+
If there is no TTL value to be used in the DNS packet
179179
(e.g. SERVFAIL or no response), then cache time is fixed
180-
to 1200 seconds.
180+
to 1200 seconds instead.
181181
182182
=cut

0 commit comments

Comments
 (0)