Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 28, 2024

The check for whether the log file is a real file is expensive on NFS
filesystems. This commit reorders the rollover condition checking to
not do the file type check if the expected file size is less than the
rotation threshold.

(cherry picked from commit e9b4ec6)

Co-authored-by: Craig Robson craig@zhatt.com
Co-authored-by: Oleg Iarygin oleg@arhadthedev.net

…ndler (pythonGH-105887) The check for whether the log file is a real file is expensive on NFS filesystems. This commit reorders the rollover condition checking to not do the file type check if the expected file size is less than the rotation threshold. (cherry picked from commit e9b4ec6) Co-authored-by: Craig Robson <craig@zhatt.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
@serhiy-storchaka
Copy link
Member

@SamyDgz, please stop spamming. Your votes for long-merged PRs do not bring any benefit and only clutter the logs and distract the core developers.

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

3 participants