mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
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:
parent
d1edd1f58b
commit
bbdf3db63e
1 changed files with 3 additions and 3 deletions
|
@ -343,7 +343,7 @@ public final class RegistryConfig {
|
||||||
@Provides
|
@Provides
|
||||||
@Config("dnsDefaultATtl")
|
@Config("dnsDefaultATtl")
|
||||||
public static Duration provideDnsDefaultATtl() {
|
public static Duration provideDnsDefaultATtl() {
|
||||||
return Duration.standardMinutes(3);
|
return Duration.standardHours(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -354,7 +354,7 @@ public final class RegistryConfig {
|
||||||
@Provides
|
@Provides
|
||||||
@Config("dnsDefaultNsTtl")
|
@Config("dnsDefaultNsTtl")
|
||||||
public static Duration provideDnsDefaultNsTtl() {
|
public static Duration provideDnsDefaultNsTtl() {
|
||||||
return Duration.standardMinutes(3);
|
return Duration.standardHours(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -365,7 +365,7 @@ public final class RegistryConfig {
|
||||||
@Provides
|
@Provides
|
||||||
@Config("dnsDefaultDsTtl")
|
@Config("dnsDefaultDsTtl")
|
||||||
public static Duration provideDnsDefaultDsTtl() {
|
public static Duration provideDnsDefaultDsTtl() {
|
||||||
return Duration.standardMinutes(3);
|
return Duration.standardHours(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue