celery / kombu

Messaging library for Python.
http://kombu.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
2.81k stars 920 forks source link

ConsumerMixin consume method should not heartbeat if timeout None #1997

Closed smart-programmer closed 1 month ago

smart-programmer commented 1 month ago

Checklist

Related Issues and Possible Duplicates

Related Issues

Possible Duplicates

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