Skip to content

Conversation

@ruslan0012
Copy link

Replace hardcoded 5 with LOGGER_FLUSH_DELAY_SECONDS constant in the application shutdown process. This
improves code readability and maintainability by making the logger flush timeout explicit and easily configurable.

The magic number was used only once in the codebase, making this a low-risk improvement that follows best practices for avoiding magic numbers in production code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant