Skip to content

Commit 8f11e5a

Browse files
committed
Comment about timeout fudge factor
1 parent 8fa1dec commit 8f11e5a

File tree

1 file changed

+2
-0
lines changed
  • operator/src/main/java/oracle/kubernetes/operator/helpers

1 file changed

+2
-0
lines changed

operator/src/main/java/oracle/kubernetes/operator/helpers/PodHelper.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,8 @@ public NextAction apply(Packet packet) {
434434
// ~6 seconds to start, so along with any other delay in connecting and issuing
435435
// the shutdown, the actual server instance has the full configured timeout to
436436
// gracefully shutdown before the container is destroyed by this timeout.
437+
// We will remove this fudge factor when the operator connects via REST to shutdown
438+
// the server instance.
437439
gracePeriodSeconds =
438440
serverSpec.getShutdown().getTimeoutSeconds() + DEFAULT_ADDITIONAL_DELETE_TIME;
439441
}

0 commit comments

Comments
 (0)