function success(item, ctx) {
		item.count++;

		if (item.state === C.CIRCUIT_HALF_OPEN_WAIT)
			circuitClose(item, ctx);
		else
			checkThreshold(item, ctx);
	}
function success(item, ctx) {
		item.count++;

		if (item.state === C.CIRCUIT_HALF_OPEN_WAIT)
			circuitClose(item, ctx);
		else
			checkThreshold(item, ctx);
	}
function success ( item , ctx ) { item . count ++ ; if ( item . state === C . CIRCUIT_HALF_OPEN_WAIT ) circuitClose ( item , ctx ) ; else checkThreshold ( item , ctx ) ; }
Increment request counter and switch CB to CLOSE if it is on HALF_OPEN_WAIT.

@param {Object} item
@param {Context} ctx
Increment request counter and switch CB to CLOSE if it is on HALF_OPEN_WAIT .
Called when a success event is received from the network.