Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not override log_memory_usage when debug logs are enabled #5921

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

RyanJDick
Copy link
Collaborator

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Community Node Submission

Description

A recent change was made to force log_memory_usage=True when debug logs are enabled (commit: 67eb715). This PR reverts that change.

The speed cost of log_memory_usage=True is large (as documented here: #5028). It is common to want debug logs without enabling log_memory_usage.

@github-actions github-actions bot added python PRs that change python files backend PRs that change backend files labels Mar 11, 2024
…ed cost of log_memory_usage=True is large. It is common to want debug log without enabling log_memory_usage.
@psychedelicious psychedelicious enabled auto-merge (rebase) March 11, 2024 22:41
@psychedelicious psychedelicious merged commit 9ee2e7f into main Mar 11, 2024
14 checks passed
@psychedelicious psychedelicious deleted the ryan/fix-log-mem-usage branch March 11, 2024 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend PRs that change backend files python PRs that change python files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants