mirror of
https://github.com/google/nomulus.git
synced 2025-06-07 13:05:39 +02:00
Smear out DNS updates over time when updating DNS for all domains
These updates can generally ran slowly in the background (i.e. they're low priority), and shouldn't clog up the system to the point where they slow down live incoming customer-requested updates. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=250732171
This commit is contained in:
parent
ba23e3efaa
commit
3e34f61b8c
5 changed files with 102 additions and 26 deletions
|
@ -108,4 +108,10 @@ public class ToolsServerModule {
|
|||
String provideJobId(HttpServletRequest req) {
|
||||
return extractRequiredParameter(req, "jobId");
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Parameter("smearMinutes")
|
||||
static int provideSmearMinutes(HttpServletRequest req) {
|
||||
return extractIntParameter(req, "smearMinutes");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue