celery/kombu

ConsumerMixin consume method should not heartbeat if timeout None

smart-programmer opened this issue · 0 comments

Checklist

  • I have checked the issues list
    for similar or identical enhancement to an existing feature.
  • I have checked the pull requests list
    for existing proposed enhancements.
  • I have checked the commit log
    to find out if the same enhancement was already implemented in the
    main branch.
  • I have included all related issues and possible duplicate issues in this issue
    (If there are none, check this box anyway).

Related Issues and Possible Duplicates

Related Issues

  • None

Possible Duplicates

  • None

Brief Summary

the capture method in celery events Receiver. logs broker heartbeats on socket exceptions. this is a helpful feature sometimes but there's no way to disable it as it mostly clutters the terminal with unhelpful messages most of the time which prevents the user from seeing actual task event logs.
image

Design

Architectural Considerations

None

Proposed Behavior

If the timeout argument is None that should disable broker heartbeat_check
image

Proposed UI/UX

Diagrams

N/A

Alternatives

None