Skip to content

Conversation

@dustymabe
Copy link
Member

This reverts commit 4484b11.

This is causing an infinite loop (and thus a memory leak), which means our pods get OOM killed when making signing requests.

This reverts commit 4484b11.

This is causing an infinite loop (and thus a memory leak), which
means our pods get OOM killed when making signing requests.
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request reverts a previous commit that introduced an infinite loop and memory leak. The revert is correct and necessary to fix this critical issue. While reviewing, I identified a latent bug in the restored code. The registered_cb callback incorrectly handles the result from the DeferredList returned by twisted_consume, which would lead to an AttributeError. I have provided a comment with a code suggestion to fix this bug, ensuring the application runs correctly after the revert.

aaradhak
aaradhak previously approved these changes Dec 2, 2025
Copy link
Member

@aaradhak aaradhak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Similar to what we were already doing for addErrback.
@dustymabe dustymabe merged commit caa1502 into coreos:main Dec 2, 2025
4 checks passed
@dustymabe dustymabe deleted the dusty-fedmsg-memory-leak branch December 2, 2025 20:34
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.

2 participants