graphite-project/carbon — pull request #152 by fhossain (2013-10-05 23:49:55+00:00)
Title: Stop making redundant deferred senqQueue calls

While running under a profiler I detected that we are creating a callback for every metric that is added to the queue. However, the queue is flushed in bulk. This leaves a lot of call backs with no data to flush. The optimization is to not queue a callback is one already exists.