Change default TTLs on all records to 1 hour.

We need this as a precursor to running refreshDnsForAllDomains to change our
TTLs from 3 minutes to an hour (see the associated bug for details).

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=246011747
This commit is contained in:
mmuller 2019-04-30 13:38:41 -07:00 committed by jianglai
parent d1edd1f58b
commit bbdf3db63e

View file

@ -343,7 +343,7 @@ public final class RegistryConfig {
@Provides
@Config("dnsDefaultATtl")
public static Duration provideDnsDefaultATtl() {
return Duration.standardMinutes(3);
return Duration.standardHours(1);
}
/**
@ -354,7 +354,7 @@ public final class RegistryConfig {
@Provides
@Config("dnsDefaultNsTtl")
public static Duration provideDnsDefaultNsTtl() {
return Duration.standardMinutes(3);
return Duration.standardHours(1);
}
/**
@ -365,7 +365,7 @@ public final class RegistryConfig {
@Provides
@Config("dnsDefaultDsTtl")
public static Duration provideDnsDefaultDsTtl() {
return Duration.standardMinutes(3);
return Duration.standardHours(1);
}
/**