Prevent busy-waiting on / spamming consumer.poll.
will return shortly before X expired (a matter of milliseconds), so after it returns a first time, it will then be called with a timeout in the order of milliseconds, therefore returning immediately, then be called again, etc.
This commit prevents it from being called with a timeout <= 10ms.
Migrated from D2182 (view on Phabricator)