File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -86,13 +86,11 @@ pub const METRICS_PORT: u16 = 9100;
8686pub const JVM_HEAP_FACTOR : f32 = 0.8 ;
8787
8888const DEFAULT_MASTER_GRACEFUL_SHUTDOWN_TIMEOUT : Duration = Duration :: from_minutes_unchecked ( 20 ) ;
89- // The following three values should be kept in sync so that
90- // DEFAULT_REGION_SERVER_GRACEFUL_SHUTDOWN_TIMEOUT = DEFAULT_REGION_MOVER_TIMEOUT + DEFAULT_REGION_MOVER_DELTA_TO_SHUTDOWN
91- const DEFAULT_REGION_SERVER_GRACEFUL_SHUTDOWN_TIMEOUT : Duration =
92- Duration :: from_minutes_unchecked ( 60 ) ;
93- // This should always be slightly less than the above
94- const DEFAULT_REGION_MOVER_TIMEOUT : Duration = Duration :: from_minutes_unchecked ( 59 ) ;
89+ const DEFAULT_REGION_MOVER_TIMEOUT : Duration = Duration :: from_minutes_unchecked ( 59 ) ;
9590const DEFAULT_REGION_MOVER_DELTA_TO_SHUTDOWN : Duration = Duration :: from_minutes_unchecked ( 1 ) ;
91+ const DEFAULT_REGION_SERVER_GRACEFUL_SHUTDOWN_TIMEOUT : Duration = DEFAULT_REGION_MOVER_TIMEOUT + DEFAULT_REGION_MOVER_DELTA_TO_SHUTDOWN ;
92+
93+
9694const DEFAULT_REST_SERVER_GRACEFUL_SHUTDOWN_TIMEOUT : Duration = Duration :: from_minutes_unchecked ( 5 ) ;
9795
9896#[ derive( Snafu , Debug ) ]
You can’t perform that action at this time.
0 commit comments