Skip to content

Commit b6d3259

Browse files
metacosmcsviri
authored andcommitted
docs: improve wording
[skip ci]
1 parent d9e0cb5 commit b6d3259

File tree

1 file changed

+4
-4
lines changed
  • operator-framework-core/src/main/java/io/javaoperatorsdk/operator

1 file changed

+4
-4
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/Operator.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ public void installShutdownHook() {
9191

9292
/**
9393
* Adds a shutdown hook that automatically calls {@link #stop()} when the app shuts down. Note
94-
* that graceful shutdown is not always needed, just if you implementation of reconciler requires
95-
* it.
96-
*
94+
* that graceful shutdown is usually not needed, but your {@link Reconciler} implementations might
95+
* require it.
96+
* <p>
9797
* Note that you might want to tune "terminationGracePeriodSeconds" for the Pod running the
9898
* controller.
9999
*
100-
* @param gracefulShutdownTimeout - timeout to wait for executor threads to complete actual
100+
* @param gracefulShutdownTimeout timeout to wait for executor threads to complete actual
101101
* reconciliations
102102
*/
103103
public void installShutdownHook(Duration gracefulShutdownTimeout) {

0 commit comments

Comments
 (0)