File tree 1 file changed +0
-16
lines changed
1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -163,22 +163,6 @@ pub static LEASE_LOST_COOL_DOWN: LazyLock<Duration> = LazyLock::new(|| {
163
163
) )
164
164
} ) ;
165
165
166
- /// The time for which we will try to preempt a backend after we know it has
167
- /// lost its lease. Duration of 0 means preemption is disabled, all past serving
168
- /// records will be assumed shut down and deleted without attempting to preempt
169
- /// them. We default to 0 in dev as no preemption is necessary.
170
- ///
171
- /// Try to proactively preempt past backends for up to 2 minutes. This can
172
- /// be much lower, but we use higher timeout to protect against transiently
173
- /// unreachable backends. By the time elapses, a network partitioning backend,
174
- /// should attempt to write, discover it has lost its lease and self-preempt.
175
- pub static BACKEND_PREEMPTION_TIMEOUT : LazyLock < Duration > = LazyLock :: new ( || {
176
- Duration :: from_secs ( env_config (
177
- "BACKEND_PREEMPTION_TIMEOUT_SECS" ,
178
- prod_override ( 0 , 120 ) ,
179
- ) )
180
- } ) ;
181
-
182
166
/// How long the queue must be nonempty before we consider traffic to be
183
167
/// "congested" and start shedding traffic. When we are idle (not congested) it
184
168
/// is how long each request can live in the queue.
You can’t perform that action at this time.
0 commit comments