adds channel interceptor
improves interceptor priority handling
passes intercept_method() to intercept function
adds missing interceptor calls
Maybe sync on slave promotion.
Explain
Port the deadlock-breaking code from bug 25852.
Re-add the log invocations we lost. This does lead to the stale master pid warning getting logged on a different node (the slave node rather than the node that attempted to start the slave) but I doubt we care about that.
Forgot to add a spec
Restore synchronous addition of slaves in the queue.declare case.
*cough*
consumer_bound info item.
Experiment with the idea of "consumer utilisation". Still far too lumpy.
Maintain an exponential moving average of the utilisation.
CU for "Consumer Utilisation" not CB for "Consumer Bound".
Missed one + cosmetic.
Store timestamps as integers.
Simplify: less state, less records, more pattern matching.
Cosmetic / unused variables.
Improve comment.