HomeSoftware Heritage

Prevent busy-waiting on / spamming consumer.poll.

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

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.

Details

Provenance
vlorentzAuthored on Oct 28 2019, 2:11 PM
vlorentzPushed on Oct 29 2019, 2:30 PM
Differential Revision
D2182: Prevent busy-waiting on / spamming consumer.poll.
Build Status
Buildable 8670
Build 12616: test-and-buildJenkins

Commit No Longer Exists

This commit no longer exists in the repository.