Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.13] gh-105623 Fix performance degradation in logging RotatingFileHandler (GH-105887)#121117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedJun 28, 2024
edited by bedevere-appbot
Loading

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 commite9b4ec6)

Co-authored-by: Craig Robsoncraig@zhatt.com
Co-authored-by: Oleg Iaryginoleg@arhadthedev.net

…ndler (pythonGH-105887)The check for whether the log file is a real file is expensive on NFSfilesystems.  This commit reorders the rollover condition checking tonot do the file type check if the expected file size is less than therotation threshold.(cherry picked from commite9b4ec6)Co-authored-by: Craig Robson <craig@zhatt.com>Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
@serhiy-storchakaserhiy-storchakaenabled auto-merge (squash)June 28, 2024 08:53
@serhiy-storchakaserhiy-storchaka merged commite310d2b intopython:3.13Jun 28, 2024
35 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@vsajipvsajipAwaiting requested review from vsajipvsajip is a code owner

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@miss-islington@serhiy-storchaka@zhatt

[8]ページ先頭

©2009-2025 Movatter.jp