prometheus/prometheus — pull request #262 by matttproud-soundcloud (2013-05-21 14:14:49+00:00)
Title: Spawn grouping of fingerprints with free semaphore.

The previous implementation spawned N goroutines to group samples
together and would not start work until the semaphore unblocked.
While this didn't leak, it polluted the scheduling space. Thusly,
the routine only starts after a semaphore has been acquired.