celery/kombu — pull request #174 by olliewalsh (2012-11-14 14:40:38+00:00)
Title: Set _in_poll before sending the BRPOP command instead of after.

This removes a race condition where _avail_client can return a polling client instead of a new client.

Fixes issue #171.