mirror of https://github.com/tikv/client-java.git
				
				
				
			modify rawkv backoff time (#127)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
This commit is contained in:
		
							parent
							
								
									c84058e53a
								
							
						
					
					
						commit
						7dfa1df52c
					
				|  | @ -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; | ||||
|  |  | |||
|  | @ -577,6 +577,6 @@ public class RawKVClient implements AutoCloseable { | |||
|   } | ||||
| 
 | ||||
|   private BackOffer defaultBackOff() { | ||||
|     return ConcreteBackOffer.newCustomBackOff(1000); | ||||
|     return ConcreteBackOffer.newRawKVBackOff(); | ||||
|   } | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue