mirror of
https://github.com/google/nomulus.git
synced 2025-08-03 08:22:13 +02:00
Implement retry for transient errors in WHOIS server
We now attempt to retry Whois queries in the event of a short-lived error. Currently, we consider 'DatastoreTimeoutException' and 'DatastoreFailureException' as transient. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=152044934
This commit is contained in:
parent
c3df4e26a3
commit
7359cc13b8
6 changed files with 77 additions and 13 deletions
|
@ -18,6 +18,7 @@ import dagger.Component;
|
|||
import google.registry.config.RegistryConfig.ConfigModule;
|
||||
import google.registry.request.RequestModule;
|
||||
import google.registry.util.SystemClock.SystemClockModule;
|
||||
import google.registry.util.SystemSleeper.SystemSleeperModule;
|
||||
import javax.inject.Singleton;
|
||||
|
||||
@Singleton
|
||||
|
@ -25,6 +26,7 @@ import javax.inject.Singleton;
|
|||
ConfigModule.class,
|
||||
RequestModule.class,
|
||||
SystemClockModule.class,
|
||||
SystemSleeperModule.class,
|
||||
WhoisModule.class,
|
||||
})
|
||||
interface WhoisTestComponent {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue