modify rawkv backoff time (#127)

Signed-off-by: birdstorm <samuelwyf@hotmail.com>
This commit is contained in:
birdstorm 2021-02-20 14:20:23 +08:00 committed by GitHub
parent c84058e53a
commit 7dfa1df52c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -31,7 +31,9 @@ public interface BackOffer {
int GC_ONE_REGION_MAX_BACKOFF = 20 * seconds;
int GC_RESOLVE_LOCK_MAX_BACKOFF = 100 * seconds;
int GC_DELETE_RANGE_MAX_BACKOFF = 100 * seconds;
int RAWKV_MAX_BACKOFF = 40 * seconds;
int RAWKV_MAX_BACKOFF = 20 * seconds;
int SPLIT_REGION_BACKOFF = 20 * seconds;
int BATCH_COMMIT_BACKOFF = 10 * seconds;
int PD_INFO_BACKOFF = 5 * seconds;

View File

@ -577,6 +577,6 @@ public class RawKVClient implements AutoCloseable {
}
private BackOffer defaultBackOff() {
return ConcreteBackOffer.newCustomBackOff(1000);
return ConcreteBackOffer.newRawKVBackOff();
}
}