mirror of
https://github.com/google/nomulus.git
synced 2025-07-24 11:38:35 +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
|
@ -35,7 +35,7 @@ public interface WhoisResponse {
|
|||
/** Returns the time at which this response was created. */
|
||||
DateTime getTimestamp();
|
||||
|
||||
/** A wraper class for the plaintext response of a WHOIS command and its number of results. */
|
||||
/** A wrapper class for the plaintext response of a WHOIS command and its number of results. */
|
||||
@AutoValue
|
||||
abstract static class WhoisResponseResults {
|
||||
public abstract String plainTextOutput();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue