File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ func run() int {
183
183
edgeApiStore .SetDraining ()
184
184
185
185
// we should wait for health check manager to notice that we are not ready for new traffic
186
- if env .IsProduction () {
186
+ if ! env .IsDevelopment () {
187
187
shutdownLogger .Info ("waiting for draining state propagation" , zap .Float64 ("wait_in_seconds" , shutdownDrainingWait .Seconds ()))
188
188
time .Sleep (shutdownDrainingWait )
189
189
}
@@ -203,7 +203,7 @@ func run() int {
203
203
edgeApiStore .SetUnhealthy ()
204
204
205
205
// wait for the health check manager to notice that we are not healthy at all
206
- if env .IsProduction () {
206
+ if ! env .IsDevelopment () {
207
207
shutdownLogger .Info ("waiting for unhealthy state propagation" , zap .Float64 ("wait_in_seconds" , shutdownUnhealthyWait .Seconds ()))
208
208
time .Sleep (shutdownUnhealthyWait )
209
209
}
You can’t perform that action at this time.
0 commit comments