Skip to content

Commit c064560

Browse files
Update shutdown logging in GracefulShutdownHandler to include timeout duration for clarity
1 parent 00e4664 commit c064560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py_spring_core/core/interfaces/graceful_shutdown_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def _handle_timeout(self) -> None:
8181
except Exception as error:
8282
self.on_error(error)
8383
finally:
84-
logger.critical("[Shutdown Timer] Timer exited, exiting application")
84+
logger.critical(f"[Shutdown Timer] Timer exited with grace period of {self._timeout_seconds} seconds, exiting application")
8585
os._exit(0)
8686

8787
def complete_shutdown(self) -> None:

0 commit comments

Comments
 (0)